Still reported the error in the same place.When I try net.loss.data.cpu().numpy() ,it reports AttributeError:‘builtin_function_or_method’ object has no attribute ‘numpy’ .When I try net.loss.data.detach().cpu().numpy() ,it reports AttributeError:‘builtin_function_or_method’ object has no attribute ‘cpu’ .
Thank you.