You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You may add addition that may be helpful for locating the problem, such as
How you installed PyTorch [e.g., pip, conda, source]
conda pytorch 11.2
Other environment variables that may be related (such as $PATH, $LD_LIBRARY_PATH, $PYTHONPATH, etc.)
Error traceback
11/23 22:32:47 - mmengine - INFO - before build:
11/23 22:32:47 - mmengine - INFO - (GB) mem_used: 28.33 | uss: 0.22 | pss: 0.28 | total_proc: 1
Loads checkpoint by local backend from path: checkpoints/faster_rcnn_r50_fpn_1x_coco_20200130-047c8118.pth
/mnt/data2/ckr/mmdetection/mmdet/datasets/api_wrappers/coco_api.py:22: UserWarning: mmpycocotools is deprecated. Please install official pycocotools by "pip install pycocotools"
warnings.warn(
loading annotations into memory...
Done (t=12.14s)
creating index...
index created!
11/23 22:33:03 - mmengine - INFO - after build:
11/23 22:33:03 - mmengine - INFO - (GB) mem_used: 29.60 | uss: 1.74 | pss: 1.79 | total_proc: 1
torch.Size([1, 256, 200, 304])
torch.Size([1, 512, 100, 152])
torch.Size([1, 1024, 50, 76])
torch.Size([1, 2048, 25, 38])
Bug fix
If you have already identified the reason, you can provide the information here. If you are willing to create a PR to fix it, please also leave a comment here and that would be much appreciated!
The text was updated successfully, but these errors were encountered:
Thanks for your error report and we appreciate it a lot.
Checklist
Describe the bug
when I use faster-rcnn for inference or training, it just prints the feature shape and is done
Reproduction
python -m torch.distributed.launch --nproc_per_node=1 --master_port=29500 tools/analysis_tools/benchmark.py
configs/faster_rcnn/faster-rcnn_r50_fpn_1x_coco.py
--checkpoint checkpoints/faster_rcnn_r50_fpn_1x_coco_20200130-047c8118.pth
--launcher pytorch
Did you make any modifications on the code or config? Did you understand what you have modified?
i do not modify it
What dataset did you use?
coco
Environment
Please run
python mmdet/utils/collect_env.py
to collect necessary environment information and paste it here.sys.platform: linux
Python: 3.8.16 (default, Mar 2 2023, 03:21:46) [GCC 11.2.0]
CUDA available: True
numpy_random_seed: 2147483648
GPU 0,1: NVIDIA GeForce RTX 3090
CUDA_HOME: /usr/local/cuda-11.6
NVCC: Cuda compilation tools, release 11.6, V11.6.55
GCC: gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
PyTorch: 1.12.0
PyTorch compiling details: PyTorch built with:
TorchVision: 0.13.0
OpenCV: 4.8.0
MMEngine: 0.8.4
MMDetection: 3.2.0+7cfc661
$PATH
,$LD_LIBRARY_PATH
,$PYTHONPATH
, etc.)Error traceback
11/23 22:32:47 - mmengine - INFO - before build:
11/23 22:32:47 - mmengine - INFO - (GB) mem_used: 28.33 | uss: 0.22 | pss: 0.28 | total_proc: 1
Loads checkpoint by local backend from path: checkpoints/faster_rcnn_r50_fpn_1x_coco_20200130-047c8118.pth
/mnt/data2/ckr/mmdetection/mmdet/datasets/api_wrappers/coco_api.py:22: UserWarning: mmpycocotools is deprecated. Please install official pycocotools by "pip install pycocotools"
warnings.warn(
loading annotations into memory...
Done (t=12.14s)
creating index...
index created!
11/23 22:33:03 - mmengine - INFO - after build:
11/23 22:33:03 - mmengine - INFO - (GB) mem_used: 29.60 | uss: 1.74 | pss: 1.79 | total_proc: 1
torch.Size([1, 256, 200, 304])
torch.Size([1, 512, 100, 152])
torch.Size([1, 1024, 50, 76])
torch.Size([1, 2048, 25, 38])
Bug fix
If you have already identified the reason, you can provide the information here. If you are willing to create a PR to fix it, please also leave a comment here and that would be much appreciated!
The text was updated successfully, but these errors were encountered: