GithubHelp home page GithubHelp logo

Comments (12)

ekazakos avatar ekazakos commented on May 26, 2024 1

@Pedro-Abreu Thanks a lot, but Im using PyTorch atm. For anyone that may be interested, you can download the caffe pretrained weights and convert them to pytorch weights using parse_caffe.py in
tsn-pytorch/tf_model_zoo/bninception.

from tsn-pytorch.

ekazakos avatar ekazakos commented on May 26, 2024

Hi, did you have any luck with that?

from tsn-pytorch.

pfabreu avatar pfabreu commented on May 26, 2024

I have .hdf5 files for TF/Keras if you want.

from tsn-pytorch.

fmthoker avatar fmthoker commented on May 26, 2024

@Pedro-Abreu can you share them with me. Email address [email protected]

from tsn-pytorch.

pfabreu avatar pfabreu commented on May 26, 2024

@ekazakos Thanks man, I might switch to Pytorch eventually :). @fmthoker https://drive.google.com/drive/folders/13TaIjogd2ReNsKXNJ55o3_qsDWB5KlkM?usp=sharing here you go.

from tsn-pytorch.

yjxiong avatar yjxiong commented on May 26, 2024

Thanks to folks! Do you mind sharing it to other users?

from tsn-pytorch.

ekazakos avatar ekazakos commented on May 26, 2024

@yjxiong Sure, will do soon!

from tsn-pytorch.

ekazakos avatar ekazakos commented on May 26, 2024

Everyone, you can find the pretrained Kinetics weights for TSN that I converted to work with PyTorch here: https://drive.google.com/drive/folders/1R4n8vSQJ0LtB1mPhhjMHEQrKj3UDQS1U?usp=sharing

Load the weights normally with:

state_dict = torch.load(pretrained)

If you are using Pytorch 0.4 do:

for k, v in state_dict.items():
    state_dict[k] = torch.squeeze(v, dim=0)

from tsn-pytorch.

yjxiong avatar yjxiong commented on May 26, 2024

@ekazakos

Thanks! Do you mind we sharing the files in the project website?

from tsn-pytorch.

ekazakos avatar ekazakos commented on May 26, 2024

@yjxiong It is totally fine.

from tsn-pytorch.

ahmedgamaleldin14 avatar ahmedgamaleldin14 commented on May 26, 2024

Everyone, you can find the pretrained Kinetics weights for TSN that I converted to work with PyTorch here: https://drive.google.com/drive/folders/1R4n8vSQJ0LtB1mPhhjMHEQrKj3UDQS1U?usp=sharing

Load the weights normally with:

state_dict = torch.load(pretrained)

If you are using Pytorch 0.4 do:

for k, v in state_dict.items():
    state_dict[k] = torch.squeeze(v, dim=0)

@ekazakos
Hello, thanks for sharing the weights. Do you have RGB Difference pretrained weights as well?
Another question, have you used BNInception or other architecture?

from tsn-pytorch.

ekazakos avatar ekazakos commented on May 26, 2024

@AhmedGamal1496 Im really sorry for the very late answer, I do not know how I missed this one. I do not have RGB Difference. And yes I've used only BN-Inception.

from tsn-pytorch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.