Giter Site home page Giter Site logo

Comments (7)

nanguoshun avatar nanguoshun commented on July 25, 2024 1

hi @KP1-cmd , I have no idea for the issues. I suggest we send emails to authors for the issues.

Thanks a lot!

from zeroshotvideoclassification.

nanguoshun avatar nanguoshun commented on July 25, 2024

@bbrattoli dear Biagio, I am suffering the same issue. Would you please help to fix it?

Is it get_datasets() instead of get_dataloaders() @muyinjiangxue

Thanks a lot!

from zeroshotvideoclassification.

KP1-cmd avatar KP1-cmd commented on July 25, 2024

hello @nanguoshun I am suffering the same issue.
datasets = dataset.get_datasets(opt) or dataloaders = dataset.get_datasets(opt)

can you tell me which one is correct ?
i tried both but still get the error

Total batch size: 22
UCF101: total number of videos 13320, classes 101
HMDB51: total number of videos 6766, classes 51
Traceback (most recent call last):
File "main.py", line 65, in
datasets = dataset.get_datasets(opt)
File "/home/hermes/Downloads/ZeroShotVideoClassification-master/dataset.py", line 14, in get_datasets
get_datasets = get_both_datasets(opt)
File "/home/hermes/Downloads/ZeroShotVideoClassification-master/dataset.py", line 107, in get_both_datasets
train_fnames, train_labels, train_classes = get_kinetics(opt.dataset)
File "/home/hermes/Downloads/ZeroShotVideoClassification-master/auxiliary/auxiliary_dataset.py", line 46, in get_kinetics
with open('/home/hermes/Downloads/ZeroShotVideoClassification-master/assets/kinetics%s.txt' % n_classes, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/hermes/Downloads/ZeroShotVideoClassification-master/assets/kinetics400.txt'

from zeroshotvideoclassification.

KP1-cmd avatar KP1-cmd commented on July 25, 2024

hi @KP1-cmd , I have no idea for the issues. I suggest we send emails to authors for the issues.

Thanks a lot!

Ok thank you

from zeroshotvideoclassification.

KP1-cmd avatar KP1-cmd commented on July 25, 2024

@muyinjiangxue did you fix the error ?

from zeroshotvideoclassification.

bbrattoli avatar bbrattoli commented on July 25, 2024

The issue comes from the fact that “get_kinetics()” in auxiliary/auxiliary_dataset.py, needs to be adapted to your format used for the Kinetics dataset. When I implemented this code I used a dataset from the AWS team and I am not allowed to publish that. I suggest you fix the get_kinetics and debug the dataloader accordingly. Unfortunately Kinetics is not an easy dataset to work with.

A quicker solution is to download one of the model that I trained and only evaluate or fine-tune on UCF101.

Thank you for pointing this out, I will mention it in the readme.

Cheers,
Biagio

P.S. Sorry for the late reply

from zeroshotvideoclassification.

muyinjiangxue avatar muyinjiangxue commented on July 25, 2024

from zeroshotvideoclassification.

Related Issues (7)

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.