PyTorch Forums
Why do I get "TypeError: expected np.ndarray (got numpy.ndarray)" when I use torch.from_numpy() function?
ptrblck
September 15, 2019, 11:05pm
7
Could you post a minimal code snippet to reproduce this error?
show post in topic