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

Some questions about installing #152

Closed
willu-x opened this issue Jul 20, 2022 · 5 comments
Closed

Some questions about installing #152

willu-x opened this issue Jul 20, 2022 · 5 comments

Comments

@willu-x
Copy link

willu-x commented Jul 20, 2022

hello author!
i met a few question when i try to use [trojanzoo]
1.
image
Are these 4 points all need to be done? Or just choose one to install?
2.
when i run docker pull local0state/trojanzoo or docker pull ghcr.io/ain-soph/trojanzoo,the error are
image
and
image
how can i solve them?
3.the command conda install trojanzoo shows
image
Do this cant install by conda?
4.the last question is when i run the quick_start
i use python ./examples/train.py --color --verbose 1 --dataset cifar10 --model resnet18_comp --lr_scheduler --cutout --grad_clip 5.0 --save and get
image
im hoping for your reply! thank you.

@ain-soph
Copy link
Owner

ain-soph commented Jul 20, 2022

  1. That seems to be your docker issue. Please try installing other docker containers to make sure it works.
  2. conda install is not implemented yet.
  3. According to your exception log, it seems to be your skimage package issues. Please fix it.

@willu-x
Copy link
Author

willu-x commented Jul 21, 2022

Hello:
I tried one more time,when i use python ./examples/train.py --color --verbose 1 --dataset cifar10 --model resnet18_comp --lr_scheduler --cutout --grad_clip 5.0 --save Its shows thats ModuleNotFoundError: No module named 'skimage'
like this:
image

When i try to install skimage ,the error is
image

Thank you for the reply.

@ain-soph
Copy link
Owner

https://scikit-image.org/docs/stable/install.html#install-via-pip

It's pip install scikit-image rather than skimage

@ain-soph
Copy link
Owner

It seems the current issue is not relevant to trojanzoo itself, so I'll close it.

If you have any issue about general python packages, feel free to contact me at rbp5354@psu.edu

@ain-soph
Copy link
Owner

ain-soph commented Aug 2, 2022

Sorry for replying late that your email was detected as junk by my university email system.

Since you have already got the skimage installed, do you have the new error log for the script?

@ain-soph ain-soph reopened this Aug 2, 2022
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