No module named 'torchvision.transforms.functional_tensor'

Could you help me for it please?

I searched in Pytorch docs and only find this function torchvision.transforms.fucntional.to_tensor.

I didn´t find any function with that name, so maybe you are trying to import this one…
Here is how you should do it:

import torchvision.transforms.functional.to_tensor as F_t
1 Like

torchvision.transforms.functional_tensor was deprecated and is private now after this PR.

1 Like