InterDigitalInc/HRFAE

CELoss may be wrong?

Feng1909 opened this issue · 1 comments

Hello:
I find some code that I think may be wrong
return nn.CrossEntropyLoss()(x, target_age)
https://github.com/InterDigitalInc/HRFAE/blob/master/trainer.py#L62

which should be
return nn.CrossEntropyLoss(x, target_age)
?

I don't know if it has some impact.

my bad