Error occured while preparing the downloaded dataset?
ToughStoneX opened this issue · comments
I found that error occured when running the python .\preparedata_train.py
after downloading the dataset.
The error information is in the following:
Traceback (most recent call last):
File ".\preparedata_train.py", line 109, in <module>
preparedata()
File ".\preparedata_train.py", line 87, in preparedata
dump_example(scene)
File ".\preparedata_train.py", line 60, in dump_example
img = imageio.imread(img.tobytes())
File "D:\ProgramData\Anaconda3\lib\site-packages\imageio\core\functions.py", line 265, in imread
reader = read(uri, format, "i", **kwargs)
File "D:\ProgramData\Anaconda3\lib\site-packages\imageio\core\functions.py", line 182, in get_reader
"Could not find a format to read the specified file in %s mode" % modename
ValueError: Could not find a format to read the specified file in single-image mode
The error occured when using the imageio.imread
api. I checked the inputed variable, which is a flattened image.
So I want to ask if there are any solution to solve this problem? Thanks a lot.