Closed leefly072 closed 3 years ago
What mistakes did you meet? You can show the error message so that I can help you better
When I try to train the model and set the dataset as followed: but there has mistake for "FileNotFoundError: [Errno 2] No such file or directory: './datasets/SIDD/val/input_crops.lmdb/meta_info.txt'"~ Can you tell me how did you make the val dataset? Thanks very much
Did you run 'python3 scripts/data_preparation/sidd.py' to prepare the data
yep, i read the code found it seems to generate the train datasets without the val dataset. Did I miss something?
create_lmdb_for_SIDD() will generate val dataset https://github.com/megvii-model/HINet/blob/e064148e9f488ffa761183f6d86874176221bbf3/basicsr/utils/create_lmdb.py#L90
Thanks very much, I will try to run the model "scripts/data_preparation/sidd.py'" again. And thanks for your reply!
have you sloved this problem?
原因是啥我不懂, 我的解决方案是在 [HINet/basicsr/utils/create_lmdb.py] 添加 import os import scipy.io as scio from tqdm import tqdm import cv2
This is nice work and thanks for your share. however, when I train the model there have some issues, in the val dataset. I found you utilize the VAlidationNoisyBlocksSrgb.mat to validation the model. but there have some mistakes when I run the program. can you help me to solve this problem? thank you very much.