aaron-xichen / pytorch-playground

Base pretrained models and datasets in pytorch (MNIST, SVHN, CIFAR10, CIFAR100, STL10, AlexNet, VGG16, VGG19, ResNet, Inception, SqueezeNet)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error

andeyeluguo opened this issue · comments

I run this script,and it occur the error "print = misc.logger.info ^SyntaxError: invalid syntax",I don't know why.

Maybe you are using python2? Switch to python3 may solve this problem.

I guess so...

is it easy to change the code of python 3 to python 2

I commented out the sentence of "print = " , and it can run good. thank you!

Happy to hear that you solve this problem. But the potential risk is the logging behavior maybe unexpected.