RuntimeError: [enforce fail at inline_container.cc:130] . file in archive is not in a subdirectory: pillars.pth
/opt/ros/noetic/lib/python3/dist-packages/rospy/impl/registration.py:339: DeprecationWarning: notifyAll() is deprecated, use notify_all() instead
self.cond.notifyAll()
File "/home/fyy/yolo_point_fusion/devel/lib/fusion_prediction/detector.py", line 15, in
exec(compile(fh.read(), python_script, 'exec'), context)
File "/home/fyy/yolo_point_fusion/src/src/detector.py", line 199, in
detector = Yolov5Detector()
File "/home/fyy/anaconda3/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "/home/fyy/anaconda3/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 129, in
func = cast(F, lambda *args, **kwargs: orig_func(*args, **kwargs))
File "/home/fyy/yolo_point_fusion/src/src/detector.py", line 77, in __init__
self.model.warmup(imgsz=(1 if self.pt else bs, 3, *self.img_size), half=self.half) # warmup
File "/home/fyy/yolo_point_fusion/devel/lib/fusion_prediction/yolov5/models/common.py", line 463, in warmup
self.forward(im) # warmup
File "/home/fyy/yolo_point_fusion/devel/lib/fusion_prediction/yolov5/models/common.py", line 402, in forward
y = self.model(im) if self.jit else self.model(im, augment=augment, visualize=visualize)
File "/home/fyy/anaconda3/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
File "/home/fyy/yolo_point_fusion/src/src/yolov5/models/yolo.py", line 209, in forward
return self._forward_once(x, profile, visualize) # single-scale inference, train
File "/home/fyy/yolo_point_fusion/src/src/yolov5/models/yolo.py", line 121, in _forward_once
x = m(x) # run
File "/home/fyy/anaconda3/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
File "/home/fyy/anaconda3/lib/python3.10/site-packages/torch/nn/modules/upsampling.py", line 157, in forward
recompute_scale_factor=self.recompute_scale_factor)
File "/home/fyy/anaconda3/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1614, in __getattr__
raise AttributeError("'{}' object has no attribute '{}'".format(
AttributeError: 'Upsample' object has no attribute 'recompute_scale_factor'
[detector-2] process has died [pid 13758, exit code 1, cmd /home/fyy/yolo_point_fusion/devel/lib/fusion_prediction/detector.py __name:=detector __log:=/home/fyy/.ros/log/13c5b734-421d-11ee-beac-2b3c2abce79f/detector-2.log].
log file: /home/fyy/.ros/log/13c5b734-421d-11ee-beac-2b3c2abce79f/detector-2*.log
/opt/ros/noetic/lib/python3/dist-packages/rospy/impl/registration.py:486: DeprecationWarning: notifyAll() is deprecated, use notify_all() instead
self.cond.notifyAll()
/home/fyy/anaconda3/lib/python3.10/site-packages/torch/functional.py:504: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at ../aten/src/ATen/native/TensorShape.cpp:3483.)
return _VF.meshgrid(tensors, **kwargs) # type: ignore[attr-defined]
[ERROR] [1692840322.884283]: bad callback:
Traceback (most recent call last):