라벨이 torch인 게시물 표시

AttributeError: 'Upsample' object has no attribute 'recompute_scale_factor'

## python error (a1) [root@localhost Autonomous-Vehicle-Environment-Perception]# python main.py --video test.mov Yolo model loaded! CULane model loaded! Downloading: "https://download.pytorch.org/models/resnet18-f37072fd.pth" to /root/.cache/torch/hub/checkpoints/resnet18-f37072fd.pth 100%|████████████████████████████████████████████████████████████████████████████████████| 44.7M/44.7M [00:00<00:00, 70.5MB/s] SGD model loaded! Sign Detection model loaded! resize False rotate False Traceback (most recent call last): File "main.py", line 101, in <module> yoloOutput = detector.detect(frame) File "/root/yolo/Autonomous-Vehicle-Environment-Perception/elements/yolo.py", line 46, in detect pred = self.yolo_model(img, augment=False)[0] File "/root/anaconda3/envs/a1/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1110, in _call_impl return forward_call(*input, **kwargs) File "/root/yolo/Autonomous-Vehicle