privacy icon indicating copy to clipboard operation
privacy copied to clipboard

pate_2017 train_student failed to run

Open Liujie367 opened this issue 5 years ago • 1 comments

I have finished training the teachers . python train_teachers.py --nb_teachers=100 --teacher_id=10 --dataset=mnist teacher_id values range from 0 to 99. When I wanted to train the student,it failed.Just use this command, there is no other command 报错

python train_student.py --nb_teachers=100 --dataset=mnist --stdnt_share=1000 Error information:The passed save_path in not a valid checkpoint:/tmp/train_dir//mnist_100_student.ckpt-2999。 What should I do now?

Liujie367 avatar May 18 '20 11:05 Liujie367

I could not reproduce your error. To speed the test, I used the following commands: python train_teachers.py --nb_teachers=5 --teacher_id=0 --dataset=mnist --max_steps=2 teacher_id values range from 0 to 4 python train_student.py --nb_teachers=5 --dataset=mnist --stdnt_share=1000 --teachers_max_steps=2 --max_steps=2

Maybe you could share what you have in your /tmp/train_dir/

jfraj avatar May 21 '20 02:05 jfraj