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
There is a assignment error in the train.py script where in the loss and logits are considered to be 'str' type after the assignment and hence have to be updated.
Here the loss variable is assigned as a 'str' type hence the following loss.backward() would fail stating that a 'str' type doesn't have a backward method.
The text was updated successfully, but these errors were encountered:
niranjanakella
changed the title
Inconsistency between labels
Loss, Logits error while training
Jul 14, 2023
There is a assignment error in the train.py script where in the loss and logits are considered to be 'str' type after the assignment and hence have to be updated.
Line: 108 and 146
Here the loss variable is assigned as a 'str' type hence the following
loss.backward()
would fail stating that a 'str' type doesn't have a backward method.The text was updated successfully, but these errors were encountered: