Hi, @ameraner
I have a small issue about the dataset import, so I would like to ask for your help.
The error below appeared, but it appears that the import was not imported properly.
""
Model compiled successfully!
Getting file lists
Number of train files found: 3
Number of validation files found: 3
Number of test files found: 3
Training model name: DSen2-CR_01
Generator initialized
Generator initialized
Generator initialized
Training starts...
Epoch 1/8
Traceback (most recent call last):
File "dsen2cr_main.py", line 179, in
run_dsen2cr(args.predict_file, args.resume_file)
File "dsen2cr_main.py", line 168, in run_dsen2cr
input_shape, max_queue_size, use_multi_processing, workers)
File "/home/soyeon/Others/DSen2-CR-main/Code/dsen2cr_tools.py", line 131, in train_dsen2cr
workers=workers)
File "/home/soyeon/DSen2CR/lib/python3.7/site-packages/tensorflow_core/python/keras/engine/training.py", line 1296, in fit_generator
steps_name='steps_per_epoch')
File "/home/soyeon/DSen2CR/lib/python3.7/site-packages/tensorflow_core/python/keras/engine/training_generator.py", line 301, in model_iteration
aggregator.finalize()
File "/home/soyeon/DSen2CR/lib/python3.7/site-packages/tensorflow_core/python/keras/engine/training_utils.py", line 138, in finalize
raise ValueError('Empty training data.')
ValueError: Empty training data.
""
I completed the composition of the input data as written along ReadMe.
Datasetfilelist.csv was constructed, and three folders named S1, S2, and S2_cloudy were created in the path where the csv file exists. Each image TIFF file is stored in each folder.
Example of Datasetfilelist.csv : 1, S1, S2, S2_cloudy, ROIs1970_fall_1_p32.tif
May I know what I missed?