Open xiaoxiongli opened 3 years ago
If you want to only use ten images for fast validation, you can modify DIV2K_val.txt file. Retain the first ten lines and remove other lines.
OK, I got it, thank you and below warning is normal or not?
It's normal. Sometimes PSNR doesn't increase and you should retrain the model.
And For 0811.pt is not generated, I find the reason is the README.md's data tree is not same as the base7.yaml, the base7.yaml have another "bin" while README.md not have. I change the base7.yaml, it works.
It's normal. Sometimes PSNR doesn't increase and you should retrain the model.
you mean that just retrain it and do not change any super-parameters such as lr or batch-size? just re-run the same command "python train.py --opt options/train/base7.yaml --name base7_D4C28_bs16ps64_lr1e-2 --scale 2 --bs 16 --ps 64 --lr 1e-3 --gpu_ids 0"?
Yes. In my experiment, simple retrain will solve this problem.
Hi Dear @NJU-Jet : it seems have a bug, please see below figure:
and I check the folder data/DIV2K/bin/DIV2K_train_HR/, below figure:
you can see that the it have 0001.pt ~ 0810.pt, and no 0811.pt ... , so the train.py crashed...
How to fix this? thank you~