Hi, when I want to convert the data in a Variable x
with type torch.cuda.FloatTensor
into a numpy
array. Use x.data.numpy()
and this error pops up RuntimeError: numpy conversion for FloatTensor is not supported
. Is there anything that I am missing? Thanks.
2 Likes