Relative Content

Tag Archive for pythontorch

Standardization of a 1d vector in torch

I am working with torch dataset of 1d signals, and would like to standardize the vectors to mean 0, std 1 before further processing the data. If I would have dealt with an image, I could use torchvision.transforms:

Issues with import torch.nn

I’m trying to use my university server for more computing power, however, I’m struggling with importing torch.nn. I tried creating a new environment in the drive (to avoid having it installed in the default home), uninstalling torch and torchvision, and installing them again, and nothing seems to work.