-
Notifications
You must be signed in to change notification settings - Fork 64
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
初学者想复现你们的评估结果遇到的问题 #27
Comments
去雨的时候 命令 ‘Rain100L’,‘RainTrainL’ 都在test_data/benchmark/下 |
Evaluation Process
python main.py --dir_data $DATA_PATH --pretrain $MODEL_PATH --data_test Set5+Set14+B100+Urban100 --scale $SCALE
python main.py --dir_data $DATA_PATH --pretrain $MODEL_PATH --data_test CBSD68+Urban100 --scale 1 --denoise --sigma $NOISY_LEVEL
python main.py --dir_data $DATA_PATH --pretrain $MODEL_PATH --scale 1 --derain
|
也是初学者遇到同样问题,没能解决 |
数据集是从https://github.com/csdwren/PReNet.这下载的,elif path.split('/')[-2] == target or path.split('/')[-3] == target or path.split('/')[-4] == target这行注释掉,得到这样的问题ValueError: num_samples should be a positive integer value, but got num_samples=0 |
"Note: path of images should be like: $MODEL_PATH/benchmark/Set5/HR/XXX.png and $MODEL_PATH/benchmark/Set5/LR_bicubic/XXX.png"为什么数据集是放在$MODEL_PATH下面?我没看错吧? |
1.比如说去雨
我的指令是:
python main.py --dir_data test_data/benchmark/ --pretrain pretrained_model/ --scale 1 --derain
我是将‘Rain100L’和‘RainTrainL’两个数据集放在了 test_data/benchmark/ 路径下。
报错是:
File "C:\Users\10446\Desktop\课程资料\Pretrained-IPT-main\data\srdata.py", line 29, in search
elif path.split('/')[-2] == target or path.split('/')[-3] == target or path.split('/')[-4] == target:
IndexError: list index out of range
是因为在win10 环境没在linux环境下运行还是其他原因?
多谢解答!
The text was updated successfully, but these errors were encountered: