Issue with training model error: list indices must be integers or slices, not Loss. · Issue #42 · IBM/LNN · GitHub
More Web Proxy on the site http://driver.im/
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.
Uh oh!
There was an error while loading. Please reload this page.
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: