Open marsggbo opened 6 years ago
Thank you for your post. Currently, the version 0.2 seems to be invalid... Can you please install another version of PyTorch (e.g, 0.4.1)?
The above is the result obtained by 'python exp_main.py -g 2', but it seems not work. Moreover, though there are error reports, the code can still be run.
The environment are as following:
Please change the code of line 199 and 267 in cnn_train.py file as follows:
correct += predicted.eq(label_.data).cpu().sum().item()
Thank you so much, the code succeded to run but with some future version warning. Besides, I still have some questions:
To get the results reported in our paper, you first need to perform the evolution process for 500 generations. Then you need to retrain the best architecture for 500 epochs using the retraining settings described in our paper.
In our code, we define our dataloader in the line 121 of cnn_train.py. For using your own dataset, you need to delete the line 121 in cnn_train.py and define your dataloader here.