Closed sidhant-tomar-003 closed 1 year ago
It seems like you might have multiple pytorch installations, see the first line under version PyTorch version: 1.12.1+cpu
and the line under Versions of relevant libraries: [pip3] torch 1.13.1
. Could you try creating a conda environment and try installing torch 1.13.1 and torchvision 0.14.1 then rerunning the script?
It seems like you might have multiple pytorch installations, see the first line under version
PyTorch version: 1.12.1+cpu
and the line under Versions of relevant libraries:[pip3] torch 1.13.1
. Could you try creating a conda environment and try installing torch 1.13.1 and torchvision 0.14.1 then rerunning the script?
Thanks! That was indeed the problem. I think my entire install of torch seemed a bit fudged, but I don't think that has any reason to be brought up as an issue here. Thanks again for the quick response!
I'm new to this stuff so I can't be sure what it is, but I can't seem to import torchvision. Its asking me to "replace the existing function with new function." I did have an outdated version of torch which I downloaded on a terminal window,which I had to close and relaunch in admin to finish the install. Here's the traceback that told me to open up an issue here:
the code I attempted to execute was:
And traceback points out that the error is from the second line (torchvision import).
P.S: I tried to run it again a while later and it no longer tells me to open an issue, just flashes an error about quantized args. Here's the new traceback (for the exact same code):
Versions
PyTorch version: 1.12.1+cpu Is debug build: False CUDA used to build PyTorch: Could not collect ROCM used to build PyTorch: N/A
OS: Microsoft Windows 10 Home Single Language GCC version: Could not collect Clang version: Could not collect CMake version: Could not collect Libc version: N/A
Python version: 3.10.1 (tags/v3.10.1:2cd268a, Dec 6 2021, 19:10:37) [MSC v.1929 64 bit (AMD64)] (64-bit runtime) Python platform: Windows-10-10.0.19044-SP0 Is CUDA available: False CUDA runtime version: Could not collect CUDA_MODULE_LOADING set to: N/A GPU models and configuration: GPU 0: NVIDIA GeForce RTX 3050 Laptop GPU Nvidia driver version: 527.56 cuDNN version: Could not collect HIP runtime version: N/A MIOpen runtime version: N/A Is XNNPACK available: True
Versions of relevant libraries: [pip3] mypy-extensions 0.4.3 [pip3] numpy 1.22.2 [pip3] torch 1.13.1 [pip3] torchvision 0.14.1 [conda] Could not collect