I'm trying to train a 2D Unet, for the segmentation task. I execute this line of code:
model.fit(training_generator, epochs = params["nEpoches"],
validation_data=validation_generator, verbose = 1, use_multiprocessing = True, workers = 6, callbacks=[callbacks_list,csv_logger])
Where
- training_generator = Istance of
DataGenerator(x_training, y_train_flat, **params), with the image and the masks array as parameters of this class. - epochs = 2
- validation_generator = Istance of
DataGenerator(x_validation, y_validation_flat, **params), with validation data. - callbacks_list =
checkPoint = ModelCheckpoint(filepath, monitor='val_loss', verbose=1, save_best_only=False, mode='min', period=1)callbacks_list = checkPoint
With the verbose=1 parameter I think I should see a progress bar showing the training status for each epoch, but the only thing I see is Epoch 1/2, without any bar. So I can't say if the training process is going on or if it's stucked somewhere.