dni.pytorch icon indicating copy to clipboard operation
dni.pytorch copied to clipboard

Command from README not working

Open bgavran opened this issue 7 years ago • 1 comments

Hello, after cloning the repo, trying to run the command

python main.py --model_type mlp

and fixing the print command in train.py (it was the python2 version of print) I get the following error:

Traceback (most recent call last): File "main.py", line 20, in assert args.dataset != 'cifar10' or args.model_type != 'mlp' AssertionError

I'm running Python 3.6 and the 0.2.0 version of Pytorch, but this doesn't seem to be related to any of those.

bgavran avatar Oct 15 '17 11:10 bgavran

main.py say that # do not support using mlp to trian cifar Assuming you want to train mnist with mlp, you should input python3 main.py --model_type mlp --dataset mnist

lkhoad avatar Nov 11 '17 14:11 lkhoad