bymavis / CAS_ICLR2021

55 stars 8 forks source link

ValueError: zero-dimensional arrays cannot be concatenated #4

Open ArshadIram opened 2 years ago

ArshadIram commented 2 years ago

Thank you so much for sharing the code for reproducibility.

I am getting the error because idx is ! greater 0.

idx = np.where(label.cpu().numpy() == np.array([0]*data.shape[0]))[0]

It will be great if you help me in resolving the issue.