You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
model.train(losses)
losses assumes that many losses are given, i.e. a list of losses. losses=[Loss.SUPERVISED] solves this issue, but we should add an additional kwarg loss
that only accepts a single loss function.
I try to train a model using :
model.train(losses=Loss.SUPERVISED)
Error on:
model.train(losses=Loss.SUPERVISED)
Error message:
list indices must be integers or slices, not Loss.
My code:
The text was updated successfully, but these errors were encountered: