CSNet-Pytorch icon indicating copy to clipboard operation
CSNet-Pytorch copied to clipboard

Question

Open HRPS98 opened this issue 4 years ago • 1 comments

hi, I'm starting to use this code and I have this error Undefined function or variable 'dagnn.EuclidLoss'.

Error in dagnn.DagNN.loadobj (line 26) block = constr() ;

Error in TIPtest_CSNetPlus (line 10) net = dagnn.DagNN.loadobj(net.net); I'm not sure which one is the first code I should run, if anyone can guide me on the steps I would appreciate it.

HRPS98 avatar Feb 21 '21 01:02 HRPS98

hi, I'm starting to use this code and I have this error Undefined function or variable 'dagnn.EuclidLoss'.

Error in dagnn.DagNN.loadobj (line 26) block = constr() ;

Error in TIPtest_CSNetPlus (line 10) net = dagnn.DagNN.loadobj(net.net); I'm not sure which one is the first code I should run, if anyone can guide me on the steps I would appreciate it.

Thanks for your interest in my repo. I think you are using the matlab version published by the author (Wuzhen Shi). The matlab version is the real code of CSNet (TIP) and this PyTorch version is the reimplementation of CSNet to help more researchers for further expansion by using PyTorch framework. If you want to test the CSNet, please use matlab version and any problem, please email the author (Wuzhen Shi). If you are not good at Matlab, you can refer to my PyTorch version for more Expansion works.

WenxueCui avatar Feb 28 '21 06:02 WenxueCui