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
After training the cascaded rcnn model for ship detection in satellite images(Airbus Ship Detection dataset on Kaggle). When I tried to evaluate the model using inference_detector, I got many and many false-positive detections of score 5.10745943e-01. could you kindly tell me what may be the cause of such a problem?
img = f'../input/airbus-coco-dataset-v9/val2017/02bd7e3d1.jpg'
result = inference_detector(model, img)
Did you make any modifications on the code or config? Did you understand what you have modified?
What dataset did you use?
Airbus ship detection Environment
Please run python mmdet/utils/collect_env.py to collect necessary environment information and paste it here.
/opt/conda/lib/python3.7/site-packages/torch/cuda/init.py:52: UserWarning: CUDA initialization: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx (Triggered internally at /pytorch/c10/cuda/CUDAFunctions.cpp:100.)
return torch._C._cuda_getDeviceCount() > 0
fatal: not a git repository (or any parent up to mount point /kaggle)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
sys.platform: linux
Python: 3.7.10 | packaged by conda-forge | (default, Feb 19 2021, 16:07:37) [GCC 9.3.0]
CUDA available: False
GCC: gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
PyTorch: 1.7.0+cu110
PyTorch compiling details: PyTorch built with:
GCC 7.3
C++ Version: 201402
Intel(R) Math Kernel Library Version 2020.0.0 Product Build 20191122 for Intel(R) 64 architecture applications
TorchVision: 0.8.1+cu110
OpenCV: 4.5.2
MMCV: 1.3.8
MMCV Compiler: GCC 7.3
MMCV CUDA Compiler: 11.0
MMDetection: 2.14.0+
3. You may add addition that may be helpful for locating the problem, such as
- How you installed PyTorch [e.g., pip, conda, source]
- Other environment variables that may be related (such as $PATH, $LD_LIBRARY_PATH, $PYTHONPATH, etc.)
Error traceback
If applicable, paste the error trackback here.
A placeholder for trackback.
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
After training the cascaded rcnn model for ship detection in satellite images(Airbus Ship Detection dataset on Kaggle). When I tried to evaluate the model using inference_detector, I got many and many false-positive detections of score 5.10745943e-01. could you kindly tell me what may be the cause of such a problem?
checkpoint_path = '/kaggle/working/mmdetection/epoch_12.pth' ###########1. checkpoint path
config_path = '/kaggle/working/mmdetection/job4_cascade_rcnn_x101_32x4d_fpn_1x_coco.py'##########2.config_path
model = init_detector(config_path, checkpoint_path, device='cpu') ################3.init_detector
model.CLASSES = ('ship', )###################################4.Define classses
model.to(device)
model.eval()
model.PRETRAINED = None
#model.test
test a single image
img = f'../input/airbus-coco-dataset-v9/val2017/02bd7e3d1.jpg'
result = inference_detector(model, img)
Did you make any modifications on the code or config? Did you understand what you have modified?
What dataset did you use?
Airbus ship detection
Environment
Please run
python mmdet/utils/collect_env.py
to collect necessary environment information and paste it here./opt/conda/lib/python3.7/site-packages/torch/cuda/init.py:52: UserWarning: CUDA initialization: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx (Triggered internally at /pytorch/c10/cuda/CUDAFunctions.cpp:100.)
return torch._C._cuda_getDeviceCount() > 0
fatal: not a git repository (or any parent up to mount point /kaggle)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
sys.platform: linux
Python: 3.7.10 | packaged by conda-forge | (default, Feb 19 2021, 16:07:37) [GCC 9.3.0]
CUDA available: False
GCC: gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
PyTorch: 1.7.0+cu110
PyTorch compiling details: PyTorch built with:
TorchVision: 0.8.1+cu110
OpenCV: 4.5.2
MMCV: 1.3.8
MMCV Compiler: GCC 7.3
MMCV CUDA Compiler: 11.0
MMDetection: 2.14.0+
3. You may add addition that may be helpful for locating the problem, such as
- How you installed PyTorch [e.g., pip, conda, source]
- Other environment variables that may be related (such as
$PATH
,$LD_LIBRARY_PATH
,$PYTHONPATH
, etc.)Error traceback
If applicable, paste the error trackback here.
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: