Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork495
Closed
Description
Hello,
I'm trying to use Pygad to train a Keras NN, however, when runningga_instance.run(), it always prints these lines every epoch:
1/1 [==============================] - 0s 34ms/step1/1 [==============================] - 0s 36ms/step1/1 [==============================] - 0s 34ms/step1/1 [==============================] - 0s 36ms/step1/1 [==============================] - 0s 31ms/step1/1 [==============================] - 0s 29ms/stepI've looked around but couldn't find a way to disable them, I already havesuppress_warnings=True when creating the GA
ga_instance = pygad.GA(num_generations=15, num_parents_mating=5, fitness_func=fitness_func, initial_population=keras_ga.population_weights, on_generation=on_generation, suppress_warnings=True, keep_parents=0)
Thank you for your time.