参考文章:SRCNN超分辨率Pytorch实现,代码逐行讲解,附源码
python prepare.py --images-dir /data/workspaces/SRCNN_dataset/train_data/ --output-path /data/workspaces/SRCNN_dataset/h5_datasets/t91-set14x4.h5 --scale 4
python prepare.py --images-dir /data/workspaces/SRCNN_dataset/eval_data/ --output-path /data/workspaces/SRCNN_dataset/h5_datasets/set5x4.h5 --scale 4 --eval
python train.py --train-file /data/workspaces/SRCNN_dataset/h5_datasets/t91-set14x4.h5 --eval-file /data/workspaces/SRCNN_dataset/h5_datasets/set5x4.h5 --outputs-dir /home/zhangxin/SRCNN_Pytorch_1.0-master/outputs/x4/ --scale 4 --num-epochs 2
python test.py --weights-file ./outputs/x4/x4/best.pth --image-file /home/zhangxin/image_super_resolution/validationLR/validationLR/1593.png --scale 4

2万+

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



