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

About the pretrained model #41

Open
Fredham opened this issue Jun 6, 2023 · 0 comments
Open

About the pretrained model #41

Fredham opened this issue Jun 6, 2023 · 0 comments

Comments

@Fredham
Copy link

Fredham commented Jun 6, 2023

为什么我使用readme.md里作者提供的Kinetics-400 pretrained model 执行‘./scripts/run_test.sh ./configs/k400/k400_test.yaml’命令就报这个错误:
model = build_model(state_dict or model.state_dict(), joint=joint,tsm=tsm,T=T,dropout=dropout, emb_dropout=emb_dropout,pretrain=pretrain).to(device)
File "/home/houyf22/lzu/ActionCLIP-master/clip/model.py", line 314, in build_model
vision_width = state_dict["visual.layer1.0.conv1.weight"].shape[0]
KeyError: 'visual.layer1.0.conv1.weight'

但是使用clip的预训练模型就不报错,是不是作者没有根据自己的预训练模型调整代码还是我漏了什么步骤?

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