Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't resume training (The passed save_path is not a valid checkpoint: ./experiment_SRResnet/)) #46

Open
satsukiyatoshi opened this issue Sep 22, 2018 · 1 comment

Comments

@satsukiyatoshi
Copy link

satsukiyatoshi commented Sep 22, 2018

Hello.
Thanks for this great piece of software.
I have an issue.
I'm begining the training with:
"python main.py --output_dir ./experiment_SRResnet/ --summary_dir ./experiment_SRResnet/log/ --mode train --is_training True --task SRResnet --batch_size 8 --flip True --random_crop True --crop_size 24 --input_dir_LR ./data/test_LR/ --input_dir_HR ./data/test_HR/ --num_resblock 16 --name_queue_capacity 6144 --image_queue_capacity 6144 --perceptual_mode MSE --queue_thread 16 --ratio 0.001 --learning_rate 0.0001 --decay_step 400000 --decay_rate 0.1 --stair False --beta 0.9 --max_iter 1000000 --save_freq 5000"

training's working great, the tensorboard update's well.

but when i want to resume with:
"python main.py --output_dir ./experiment_SRResnet/ --summary_dir ./experiment_SRResnet/log/ --mode train --is_training True --task SRResnet --batch_size 8 --flip True --random_crop True --crop_size 24 --input_dir_LR ./data/test_LR/ --input_dir_HR ./data/test_HR/ --num_resblock 16 --name_queue_capacity 6144 --image_queue_capacity 6144 --perceptual_mode MSE --queue_thread 16 --ratio 0.001 --learning_rate 0.0001 --decay_step 400000 --decay_rate 0.1 --stair False --beta 0.9 --max_iter 1000000 --save_freq 5000 --pre_trained_model false --checkpoint ./experiment_SRResnet/"
i get the following error "ValueError: The passed save_path is not a valid checkpoint: ./experiment_SRResnet/"

Am i doing something wrong ?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@satsukiyatoshi and others