Segmentation models with pretrained backbones. Keras and TensorFlow Keras.
MIT License
4.74k
stars
1.03k
forks
source link
Issue while training( example: binary segmentation) --->training_generator.py in _get_next_batch(generator, mode) raise ValueError('Output of generator should be a tuple `(x, y, sample_weight)` or `(x, y)`. Found: ' + str(generator_output)) #239
While running binary segmentation (camvid) notebook, on step
# train model history = model.fit_generator( train_dataloader, steps_per_epoch=len(train_dataloader), epochs=EPOCHS, callbacks=callbacks, validation_data=valid_dataloader, validation_steps=len(valid_dataloader), )
encountered following error:
While running binary segmentation (camvid) notebook, on step
# train model history = model.fit_generator( train_dataloader, steps_per_epoch=len(train_dataloader), epochs=EPOCHS, callbacks=callbacks, validation_data=valid_dataloader, validation_steps=len(valid_dataloader), )
encountered following error:Epoch 1/40
ValueError Traceback (most recent call last)