Open AnamKhurshid17 opened 3 years ago
change the output of the data loader into a tuple instead of a list, it worked for me
How I change data loader output into a tuple?
Same problem with the multi class example, no back prop at all. Buggy tutorials...
sorry for the late reply, in the Dataloader class, the __getitem__
function I returned: (batch[0],batch[1])
While running binary segmentation (camvid) notebook, error come at the following 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), )
Epoch 1/40
ValueError Traceback (most recent call last)