pytorch-toolbelt icon indicating copy to clipboard operation
pytorch-toolbelt copied to clipboard

AttributeError: module 'pytorch_toolbelt.losses' has no attribute 'JointLoss'

Open likepd opened this issue 1 year ago • 7 comments

AttributeError: module 'pytorch_toolbelt.losses' has no attribute 'JointLoss'

likepd avatar Jun 18 '23 03:06 likepd

Check this https://github.com/BloodAxe/pytorch-toolbelt/issues/91 answer. Do you mind sharing the use case for this loss? I'm curious whether the decision to remove this class was too fast or not.

BloodAxe avatar Jun 18 '23 17:06 BloodAxe

Thank you !!!

likepd avatar Jun 28 '23 05:06 likepd

I use a cascaded decoder structure based on BBSNet,which needs two loss fuction.

likepd avatar Jun 28 '23 06:06 likepd

how to deal with this problem?

wanyuan123456 avatar Jul 31 '23 04:07 wanyuan123456

We should at least remove it from the docs and readme

da2r-20 avatar Sep 04 '23 06:09 da2r-20

When i run the demo_losses.py. I encountered the same problem, is there any solution?

fxiaho avatar May 09 '24 00:05 fxiaho

When i run the demo_losses.py. I encountered the same problem, is there any solution? Did you solve this problem?

Supzekun avatar May 12 '24 07:05 Supzekun