quark0 / darts

Differentiable architecture search for convolutional and recurrent networks
https://arxiv.org/abs/1806.09055
Apache License 2.0
3.92k stars 843 forks source link

how to get ppl by using customed configrues'ENAS' #112

Open hukaidididi opened 5 years ago

hukaidididi commented 5 years ago

I have a question about trainning customed ENAS architecture. In my way, firstly I reconfigured ENAS's arguments in genotypes.py ,and then I got a fault during running train.py like this:

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/didi/PycharmProjects/darts/rnn/train.py", line 255, in model = torch.load(os.path.join(args.save, 'model.pt')) File "/home/didi/anaconda3/lib/python3.7/site-packages/torch/serialization.py", line 356, in load f = open(f, 'rb') FileNotFoundError: [Errno 2] No such file or directory: 'eval-EXP-20190902-104658/model.pt'

I had a architecture and I didn‘t need a model.pt, so I confuesd about the FileNotFoundError. Can you tell me what problem I had? Thank you!