SRCNN测试

 参考文章:SRCNN超分辨率Pytorch实现,代码逐行讲解,附源码

 数据集:DIV2K-set5-set14-img91

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值