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
Traceback (most recent call last):
File "./discogan/image_translation.py", line 314, in <module>
main()
File "./discogan/image_translation.py", line 181, in main
data_style_A, data_style_B = shuffle_data( data_style_A, data_style_B)
File "/Users/kadia/Desktop/DiscoGAN-master/discogan/dataset.py", line 27, in shuffle_data
shuffled_da = np.array(da)[ np.array(a_idx) ]
IndexError: arrays used as indices must be of integer (or boolean) type
The text was updated successfully, but these errors were encountered:
i think it's something related to the n_test argument in image_translation.py, by default they are 200 so you have to be sure that your dataset contain more than 200 image or you have to change it.
i got the same error for my dataset(197 images) i change it to 10 and the training works very well.
Best
Giving error on the last line :
The text was updated successfully, but these errors were encountered: