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
File "/home/tiger/hand-gestures/3rd/HAT/engine/trainer.py", line 46, in _update
loss = loss_fn(score, feat, target)
File "/home/tiger/hand-gestures/3rd/HAT/layers/__init__.py", line 40, in loss_func
return F.cross_entropy(score, target) + triplet(feat, target)[0]
File "/home/tiger/.local/lib/python3.7/site-packages/torch/nn/functional.py", line 2468, in cross_entropy
return nll_loss(log_softmax(input, 1), target, weight, None, ignore_index, None, reduction)
File "/home/tiger/.local/lib/python3.7/site-packages/torch/nn/functional.py", line 1605, in log_softmax
ret = input.log_softmax(dim)
AttributeError: 'list' object has no attribute 'log_softmax'
any idea to solve it?
thanks
The text was updated successfully, but these errors were encountered:
when train the HAT, i meet this problem
any idea to solve it?
thanks
The text was updated successfully, but these errors were encountered: