OWOD
OWOD copied to clipboard
pip install -r requirement.txt
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.
This question I have finish it: upgrade the torch>=1.8.0