-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MOdel don´t fit in Colab #394
Comments
change Dataloder's return from list to tuple will fix your problem. |
It's works! |
How to do that, its not work for me |
def getitem(self, i):
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
HI,
I tried to work the example Multiclass Segmentation (Camvid) on Google Colab and the training fail with this Error:
`# train model
history = model.fit(
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)
in ()
4 #steps_per_epoch=len(train_dataloader),
5 epochs=EPOCHS,
----> 6 callbacks=callbacks,
7 #validation_data=valid_dataloader,
8 #validation_steps=len(valid_dataloader),
10 frames
/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/func_graph.py in wrapper(*args, **kwargs)
971 except Exception as e: # pylint:disable=broad-except
972 if hasattr(e, "ag_error_metadata"):
--> 973 raise e.ag_error_metadata.to_exception(e)
974 else:
975 raise
ValueError: in user code:
Any idea for fix it?
The text was updated successfully, but these errors were encountered: