question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No such file or directory: '/ssd/video/something/v1/category.txt'

See original GitHub issue

I get the following error

Traceback (most recent call last):
  File "test_models.py", line 126, in <module>
    modality)
  File "/home/usr/Projects/temporal-shift-module/ops/dataset_config.py", line 117, in return_dataset
    with open(file_categories) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/ssd/video/something/v1/category.txt'

when running

python test_models.py something \
    --weights=pretrained/TSM_something_RGB_resnet50_shift8_blockres_avg_segment8_e45.pth \
    --test_segments=8 --batch_size=72 -j 24 --test_crops=3  --twice_sample

I’m not sure what it’s looking for?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
MattVilcommented, Sep 14, 2020

@ysl208 The categories.txt file is just the list of your recognized actions. You can make a small script to create it of do it bye hand

0reactions
ysl208commented, Sep 14, 2020

On which dataset did you manage to get it running ? I checked and the sources don’t have the category.txt files, for Something something but also not for Jester.

Read more comments on GitHub >

github_iconTop Results From Across the Web

no such file or directory error(python) - Stack Overflow
i have file with 3989 .txt file.
Read more >
No such file or directory: 'test.txt #350 - amdegroot/ssd.pytorch
I have the same problem on a windows box. Which path needs to be absolute and where? config.py? In the meantime I'll get...
Read more >
5/9: Error: [Errno 2] No such file or directory: 'text.txt'
myfile = open("text.txt", "r") for i in range(3): print myfile.readline() myfile.close() Not able to understand about the error on consloe.
Read more >
“.h: No such file or directory" - 2 Easy fixes to Arduino error
Trying to fix the dreaded "No such file error?" - This short video will show you 2 easy fixes to solving this error....
Read more >
2 Easy fixes to Arduino error: “.h: No such file or directory
Want to learn more? Check out our courses!https://bit.ly/33ceYv4We designed this circuit board for beginners!
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found