Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

resnet101 backbone issue #12

Open
muxiddin19 opened this issue May 3, 2024 · 0 comments
Open

resnet101 backbone issue #12

muxiddin19 opened this issue May 3, 2024 · 0 comments

Comments

@muxiddin19
Copy link

Hello! Thank you for your great work! I could run the notebook you provided successfully. However, a problem arose when I changed the backbone to "resnet101".
First It could not find the 'dataset/classInd_hmdb_ucf.txt':
in main(opt)
11 ##=== preparing ===#
12 class_file = '%s/classInd_%s.txt' % (opt.data_root,opt.dataset)
---> 13 class_names = [line.strip().split(' ', 1)[1] for line in open(class_file)]
14 opt.num_class = len(class_names)

FileNotFoundError: [Errno 2] No such file or directory: 'dataset/classInd_hmdb_ucf.txt'

Then I made this chage:

##=== preparing ===#
class_file = '%s/classInd_%s.txt' % (opt.data_root,opt.dataset)
#   '/home/gpulab2/muhiddin/TranSVAE/dataset/classInd_hmdb_ucf.txt'
class_names = [line.strip().split(' ', 1)[1] for line in open(class_file)]
opt.num_class = len(class_names)

Then it could not find the related train and val files:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant