OWOD icon indicating copy to clipboard operation
OWOD copied to clipboard

pip install -r requirement.txt

Open yangengineering opened this issue 1 year ago • 1 comments

Hello, before I run the code, I am pip install -r requirement.txt. But, after it , the code has the error called AttributeError: module 'torch.jit' has no attribute 'script_if_tracing'

I find the solution on the Internet, They all say torch should be suit for torchvision. But I have pip install torch=1.6.0 and torchvision=0.7.0.

yangengineering avatar Apr 25 '24 08:04 yangengineering

This question I have finish it: upgrade the torch>=1.8.0

yangengineering avatar Apr 25 '24 09:04 yangengineering