Train Fr using the pretrained CycleGAN
输入训练命令[
python train.py --dataroot ./datasets/dehazing --name run_fr_depth --lambda_Dehazing 10 --lambda_Dehazing_DC 1e-2 --lambda_Dehazing_TV 1e-2 --learn_residual --resize_or_crop crop --display_freq 100 --print_freq 100 --display_port 8097 --epoch_count 1 --niter 90 --niter_decay 0 --fineSize 256 --no_html --batchSize 2 --gpu_id 0 --update_ratio 1 --unlabel_decay 0.99 --save_epoch_freq 1 --model RDehazingnet --g_s2r_premodel ./checkpoints/run_cyclegan/netG_A.pth ]
后 出现文件找不到的error 目录./checkpoints/run_cyclegan/netG_A.pth下找不到netG_A.pth文件
确实也没有该文件 ./checkpoints/run_cyclegan/ 目录下只有上一轮训练得到的1_netG_A.pth等每次迭代的出来的结果 文件名前带数字 以及最后latest_netG_A.pth文件
查询代码发现没有自动生成文件的代码 是直接按地址找的
故把latest_netG_A.pth文件 更名为netG_A.pth error解除 训练进行
3366

被折叠的 条评论
为什么被折叠?



