open-mmlab / mmdetection

OpenMMLab Detection Toolbox and Benchmark
https://mmdetection.readthedocs.io
Apache License 2.0
29.56k stars 9.46k forks source link

Two images stitched together in mask rcnn visualization result.mask rcnn可视化结果中两张图片拼接在了一起。 #11179

Open windwhim opened 12 months ago

windwhim commented 12 months ago

Describe the bug There was only one original test image, but the two images were stitched together in the visualization results and had different results.原始的测试图片只有一张,但在可视化结果中两张图片拼接在了一起,并有不同的结果。 51

Reproduction

  1. What command or script did you run?
python tools/test.py configs/cell/shen/mask-rcnn_r50-caffe_fpn_ms-poly-1x_shen.py work_dirs/mask-rcnn_r50-caffe_fpn_ms-poly-1x_shen/epoch_12.pth --show-dir imgs/
  1. Did you make any modifications on the code or config? Did you understand what you have modified?
  2. What dataset did you use?

Environment

  1. Please run python mmdet/utils/collect_env.py to collect necessary environment information and paste it here.
    
    sys.platform: win32
    Python: 3.8.16 (default, Mar  2 2023, 03:18:16) [MSC v.1916 64 bit (AMD64)]
    CUDA available: True
    numpy_random_seed: 2147483648
    GPU 0: NVIDIA GeForce RTX 3070 Laptop GPU
    CUDA_HOME: D:\CUDA11.7\NVIDIA GPU Computing Tookit\CUDA\v11.7
    NVCC: Cuda compilation tools, release 11.7, V11.7.64
    MSVC: 用于 x64 的 Microsoft (R) C/C++ 优化编译器 19.37.32825 版
    GCC: n/a
    PyTorch: 1.13.0+cu117
    PyTorch compiling details: PyTorch built with:
    - C++ Version: 199711
    - MSVC 192829337
    - Intel(R) Math Kernel Library Version 2020.0.2 Product Build 20200624 for Intel(R) 64 architecture applications
    - Intel(R) MKL-DNN v2.6.0 (Git Hash 52b5f107dd9cf10910aaa19cb47f3abf9b349815)
    - OpenMP 2019
    - LAPACK is enabled (usually provided by MKL)
    - CPU capability usage: AVX2
    - CUDA Runtime 11.7
    - NVCC architecture flags: -gencode;arch=compute_37,code=sm_37;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_80,code=sm_80;-gencode;arch=compute_86,code=sm_86;-gencode;arch=compute_37,code=compute_37
    - CuDNN 8.5
    - Magma 2.5.4
    - Build settings: BLAS_INFO=mkl, BUILD_TYPE=Release, CUDA_VERSION=11.7, CUDNN_VERSION=8.5.0, CXX_COMPILER=C:/actions-runner/_work/pytorch/pytorch/builder/windows/tmp_bin/sccache-cl.exe, CXX_FLAGS=/DWIN32 /D_WINDOWS /GR /EHsc /w /bigobj -DUSE_PTHREADPOOL -openmp:experimental -IC:/actions-runner/_work/pytorch/pytorch/builder/windows/mkl/include -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOCUPTI -DUSE_FBGEMM -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO, LAPACK_INFO=mkl, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, PERF_WITH_AVX512=1, TORCH_VERSION=1.13.0, USE_CUDA=ON, USE_CUDNN=ON, USE_EXCEPTION_PTR=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_MKL=ON, USE_MKLDNN=ON, USE_MPI=OFF, USE_NCCL=OFF, USE_NNPACK=OFF, USE_OPENMP=ON, USE_ROCM=OFF,

TorchVision: 0.14.0+cu117 OpenCV: 4.8.1 MMEngine: 0.9.1 MMDetection: 3.2.0+fe3f809


**Error traceback**
If applicable, paste the error trackback here.
Only warnings during the run.
_运行过程中没有报错只有warning。_

D:\miniconda3\envs\windfancy\lib\site-packages\mmengine\visualization\visualizer.py:760: UserWarning: Warning: The bbox is out of bounds, the drawn bbox may not be in the image

jiubie12 commented 3 months ago

Excuse me, have you solved it?