Hello.I have pythorch 2.0.1+cu117.I tried to import select_device from utils.torch_utils by the command:
from utils.torch_utils import select_device .
I got the error: ModuleNotFoundError: No module named ‘utils.torch_utils’.
I tried to :
1.pip install python_utils
2.pip install utils
3.pip install torch-utils
4.pip install --upgrade torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117
5.pip install --upgrade torch
6.pip install --upgrade torch torchvision torchaudio
7.pip install --upgrade torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
Now i have pytorch 2.1.2+cu118, but, unfortunatelly i still have the same problem.How can i fix that ?