ABSA-PyTorch icon indicating copy to clipboard operation
ABSA-PyTorch copied to clipboard

no backward() in CrossEntropyLoss_LSR

Open nghidinhit opened this issue 5 years ago • 2 comments

I tried to use CrossEntropyLoss_LSR, but i got this error: AttributeError: 'CrossEntropyLoss_LSR' object has no attribute 'backward'

nghidinhit avatar Jun 22 '19 04:06 nghidinhit

What version of pytorch do you use?

songyouwei avatar Jun 27 '19 01:06 songyouwei

My pytorch version is: 1.0.1 Any suggestion? Please!

nghidinhit avatar Jun 27 '19 02:06 nghidinhit