ain-soph / trojanzoo

TrojanZoo provides a universal pytorch platform to conduct security researches (especially backdoor attacks/defenses) of image classification in deep learning.
https://ain-soph.github.io/trojanzoo
GNU General Public License v3.0
281 stars 63 forks source link

Some questions about installing #152

Closed willu-x closed 2 years ago

willu-x commented 2 years ago

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 commented 2 years ago
  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 commented 2 years ago

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 commented 2 years ago

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

It's pip install scikit-image rather than skimage

ain-soph commented 2 years ago

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 commented 2 years ago

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?