Skip to content
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

关于加载数据集 #9

Open
Boomhyomin opened this issue Jul 31, 2019 · 3 comments
Open

关于加载数据集 #9

Boomhyomin opened this issue Jul 31, 2019 · 3 comments

Comments

@Boomhyomin
Copy link

Boomhyomin commented Jul 31, 2019

你好,我在使用训练代码时,加载数据出错,提示为
OSError: Unable to open file (unable to open file: name = 'datasets/train/RainTrainH/train_target.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)
训练集使用的是RainTrainH,该怎么解决呢?

@Boomhyomin
Copy link
Author

需要将数据集转化为.h5格式,大佬已经在DerainDatasets.py里面写好了,训练时需要添加参数--preprocess True
之后训练就不用添加该参数,挺方便的!

@jifenghu
Copy link

jifenghu commented Aug 6, 2019

需要将数据集转化为.h5格式,大佬已经在DerainDatasets.py里面写好了,训练时需要添加参数--preprocess True
之后训练就不用添加该参数,挺方便的!

你好 我添加了--preprocess True 但是依然出现了上述的问题 而且我没找到这个参数控制的函数 请问你是如何将数据集转化为 .h5 格式的呢

@csdwren
Copy link
Owner

csdwren commented Aug 8, 2019

请看DerainDatasets.py。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants