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
@hwyncho , I have run your code for a research point but got an error related to GA-DCGAN model,
Traceback (most recent call last):
File "GECCO-2019-Keras\main.py", line 46, in
gan.train(images, epochs=600, batch_size=1024, with_ga=True, debug_mode=True)
File "GECCO-2019-Keras\gan\base_class.py", line 157, in train
self._train_on_batch(images.copy(), batch_size, with_ga)
File "GECCO-2019-Keras\gan\base_class.py", line 120, in _train_on_batch
generated_img = self._run_ga(generations=32, population_size=len(batch_img))
File "GECCO-2019-Keras\gan\base_class.py", line 68, in _run_ga
point = np.random.randint(0, int(sum_fitness))
File "mtrand.pyx", line 746, in numpy.random.mtrand.RandomState.randint
File "_bounded_integers.pyx", line 1338, in numpy.random._bounded_integers._rand_int32
ValueError: high <= 0
Note that this error has been shown after some epochs? could you please let me know how to solve it ?
The text was updated successfully, but these errors were encountered:
@hwyncho , I have run your code for a research point but got an error related to GA-DCGAN model,
Traceback (most recent call last):
File "GECCO-2019-Keras\main.py", line 46, in
gan.train(images, epochs=600, batch_size=1024, with_ga=True, debug_mode=True)
File "GECCO-2019-Keras\gan\base_class.py", line 157, in train
self._train_on_batch(images.copy(), batch_size, with_ga)
File "GECCO-2019-Keras\gan\base_class.py", line 120, in _train_on_batch
generated_img = self._run_ga(generations=32, population_size=len(batch_img))
File "GECCO-2019-Keras\gan\base_class.py", line 68, in _run_ga
point = np.random.randint(0, int(sum_fitness))
File "mtrand.pyx", line 746, in numpy.random.mtrand.RandomState.randint
File "_bounded_integers.pyx", line 1338, in numpy.random._bounded_integers._rand_int32
ValueError: high <= 0
Note that this error has been shown after some epochs? could you please let me know how to solve it ?
The text was updated successfully, but these errors were encountered: