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

In new push model path is not working #165

Closed
ArshadIram opened this issue Sep 16, 2022 · 1 comment
Closed

In new push model path is not working #165

ArshadIram opened this issue Sep 16, 2022 · 1 comment

Comments

@ArshadIram
Copy link

ArshadIram commented Sep 16, 2022

FileNotFoundError: [Errno 2] No such file or directory: 'data\model\image\cifar10\resnet18_comp.pth'

@ain-soph
Copy link
Owner

ain-soph commented Sep 22, 2022

Please provide enough information for the error. What kind of task are you running? Are you using example scripts?

I assume you are running BadNet attack and trying to load a clean model that is previously pretrained by adding cmd parameter --pretrained. Then you shall run ./examples/train.py first to train a model to save it there.

For the model path, you are using the default path in the package. You can always set your workspace config to change the model path or dataset path. For more details, please refer to the docs: https://ain-soph.github.io/trojanzoo/trojanvision/configs.html

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