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

康哥,我在autodl上跑,它不知道为啥导入不了包 #18

Open
wu33learn opened this issue Nov 4, 2024 · 3 comments
Open

Comments

@wu33learn
Copy link

image
from config import DATA_ROOT也不行

@caoyunkang
Copy link
Owner

应该是相对路径的原因,建议直接在AdaCLIP/下运行,例如python ./data_preprocess/visa.py

@wu33learn
Copy link
Author

应该是相对路径的原因,建议直接在AdaCLIP/下运行,例如python ./data_preprocess/visa.py

确实是相对路径缺失了,我把AdaCLIP路径添加上可以运行了。
康哥,我问一下,我想用你的adaclip做零样本benchmark评估我要做的数据集,可以直接用你发布的pretrained_all.pth权重做测试吗,还是需要我重新训练。感谢!

@caoyunkang
Copy link
Owner

确实是相对路径缺失了,我把AdaCLIP路径添加上可以运行了。
康哥,我问一下,我想用你的adaclip做零样本benchmark评估我要做的数据集,可以直接用你发布的pretrained_all.pth权重做测试吗,还是需要我重新训练。感谢!

可以直接用预训练权重pretrained_all.pth做benchmark,感谢关注~

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

2 participants