Help please, i’m trying to generate the file.npz but i got this error
File “calculate_inception_moments.py”, line 146, in run
labels += [np.asarray(y.cpu())]
AttributeError: ‘tuple’ object has no attribute ‘cpu’
0% 0/1 [00:15<?, ?it/s]
  with torch.no_grad():
        pool_val, logits_val = net(x)
        pool += [np.asarray(pool_val.cpu())]
        logits += [np.asarray(F.softmax(logits_val, 1).cpu())]
        labels += [np.asarray(y.cpu())]