Closed yaofanji closed 1 year ago
We recommend using English or English & Chinese for issues so that we could have broader discussion.
@yaofanji pip install grad-cam
Loads checkpoint by local backend from path: ./work_dirs/yolov8_m_syncbn_fast_8xb16-500e_coco/epoch_300.pth
[ ] 0/1, elapsed: 0s, ETA:/root/miniconda3/lib/python3.8/site-packages/torch/functional.py:568: 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:2228.)
return _VF.meshgrid(tensors, kwargs) # type: ignore[attr-defined]
Traceback (most recent call last):
File "demo/boxam_vis_demo.py", line 276, in
@yaofanji Thanks for your feedback, let's check it out.
root@autodl-container-2db1118bae-37fa7cbb:~/mmyolo# python demo/boxam_vis_demo.py mmyolo/configs/yolov8/yolov8_m_syncbn_fast_8xb16-500e_coco.py ./work_dirs/yolov8_m_syncbn_fast_8xb16-500e_coco/epoch_300.pth Traceback (most recent call last): File "demo/boxam_vis_demo.py", line 22, in
from mmyolo.utils.boxam_utils import (BoxAMDetectorVisualizer,
File "/root/mmyolo/mmyolo/utils/boxam_utils.py", line 342, in
class DetAblationLayer(AblationLayer):
NameError: name 'AblationLayer' is not defined