dawn-bench-models icon indicating copy to clipboard operation
dawn-bench-models copied to clipboard

no model to eval yet

Open jake221 opened this issue 6 years ago • 0 comments

I evaluated the resnet20 model after I training the model, but I came across a problem: "No model to eval yet at /tmp/resnet_model"

The command I use is as follows:

train a ResNet20

python3 resnet/resnet_main.py --train_data_path=cifar10/data_batch* --log_root=/tmp/resnet_model --train_dir=/tmp/resnet_model/train --dataset='cifar10' --model=resnet20 --num_gpus=1

evaluate the ResNet20

python3 resnet/resnet_main.py --eval_data_path=cifar10/test_batch.bin --log_root=/tmp/resnet_model --eval_dir=/tmp/resnet_model --mode=eval --dataset='cifar10' --model=resnet20 --num_gpus=1

Is it because there is no saving model property in the train function in the resnet_main.py?

Thanks for your reply at your earliest conveninece!

jake221 avatar Aug 27 '18 00:08 jake221