You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After running test.py and generating 280k files in data_dir, I ran 'python sr_dataprep.py'. It complains:
$ python3 sr_dataprep.py
./data_dir
Traceback (most recent call last):
File "sr_dataprep.py", line 74, in
ARR[idx] = f
IndexError: list assignment index out of range
Any suggestions what it could be?
The text was updated successfully, but these errors were encountered:
Apologies its been a while but this is because we limit the size of files that can be processed as it could lead to potential memory issues. This problem is related to number of files as you pointed out.
The fix for this is to increase the value of 12100 here: https://github.com/kiharalab/EM-GAN/blob/master/sr_dataprep.py#L73 to a bigger value ( can you try 25000?)
After running test.py and generating 280k files in data_dir, I ran 'python sr_dataprep.py'. It complains:
$ python3 sr_dataprep.py
./data_dir
Traceback (most recent call last):
File "sr_dataprep.py", line 74, in
ARR[idx] = f
IndexError: list assignment index out of range
Any suggestions what it could be?
The text was updated successfully, but these errors were encountered: