3dp
anonymouso5310 opened this issue · 0 comments
Hi guys i have these errors and I don't know how to fix it
Traceback (most recent call last):
File "main.py", line 22, in
from MiDaS.monodepth_net import MonoDepthNet
File "C:\Users\leonard\Desktop\inpainting\MiDaS\monodepth_net.py", line 7, in
from torchvision import models
File "D:\anaconda\envs\3DP\lib\site-packages\torchvision_init_.py", line 7, in
from torchvision import models
File "D:\anaconda\envs\3DP\lib\site-packages\torchvision\models_init_.py", line 2, in
from .convnext import *
File "D:\anaconda\envs\3DP\lib\site-packages\torchvision\models\convnext.py", line 8, in
from ..ops.misc import Conv2dNormActivation, Permute
File "D:\anaconda\envs\3DP\lib\site-packages\torchvision\ops_init_.py", line 2, in
from .boxes import (
File "D:\anaconda\envs\3DP\lib\site-packages\torchvision\ops\boxes.py", line 78, in
@torch.jit._script_if_tracing
AttributeError: module 'torch.jit' has no attribute '_script_if_tracing'