neuralnet-pytorch
neuralnet-pytorch copied to clipboard
AttributeError: module 'neuralnet_pytorch.metrics' has no attribute 'emd_loss'
trafficstars
Hi I'm trying to use emd loss and I'm getting:
AttributeError: module 'neuralnet_pytorch.metrics' has no attribute 'emd_loss'
My integration is simple:
import neuralnet_pytorch as nnt cost = nnt.metrics.emd_loss(x,y)
I'll be happy for your help
Thanks.
Hi. Which branch did you install from?
The extensions module, containing the EMD loss implementation is only available in the branch named fancy . Hope changing the branch will solve your problem.