## MMDetection
Fork from https://github.com/open-mmlab/mmdetection
## 安装虚拟环境
参考 https://github.com/open-mmlab/mmdetection/blob/master/docs/INSTALL.md
```bash
pip install -r requirements/build.txt
pip install "git+https://github.com/cocodataset/cocoapi.git#subdirectory=PythonAPI"
pip install -v -e . # or "python setup.py develop"
```
## 数据准备
目的是转换成COCO格式的数据,方式有两:
1. 下载: [百度云链接](https://pan.baidu.com/s/1dUNt_Wl3WVbqip6oVQ_tuA) 密码: oqqf
2. 自己生成(请合理配置文件中的路径):
```bash
# 文件中的路径请根据实际情况配置
# 训练集与测试集的划分
python tools/pascal2coco.py
# a-test/b-test转换成COCO json
python tools/generate_test_annotation.py
```
3. 最后的目录树
```bash
data
| - image # 前视, 侧扫, 负样本, 所有的训练集图像均放于此
| - annotation # 上一步下载或者生成的json
| - box # 前视, 侧扫的xml标注放于此
| - a-test-img # 所有的a-test图像放于此
| - b-test-img # 所有的b-test图像放于此
```
## 模型准备
放于`pretrain_model/`下
1. 预训练模型:下载[百度云链接](https://pan.baidu.com/s/1Kadwx588xZmy6qM_1cgdBw) 密码: o22i (已在MSCOCO2017上预训练),
2. 最终已训练模型: 下载[百度云链接](https://pan.baidu.com/s/1LoXNvHmk4O3yVUrP3ix6HQ) 密码: v15d (final model)
## 训练
```bash
./train_sonar.sh # 目录位置及配置可在里面更改
```
## 测试
```bash
./test_sonar.sh # 目录位置及配置可在里面更改
# 转换成csv
python ./tools/turn_pkl_to_csv.py work_dirs/cascade_rcnn_dconv_c3-c5_r101_uncertain_MS_dufpn_1x/bbox_predict.pkl --json_path data/annotation/a-test.json
# 可视化, 目录位置可在里面更改
python tools/vis_det.py
```
## 结果
| - | Leaderboard A | Leaderboard B |
| :---: | :-------------: | :-------------: |
| mAP | 0.298 | 0.207 |
没有合适的资源?快使用搜索试试~ 我知道了~
水下目标检测算法赛(声学图像赛项)解决方案.zip
共243个文件
py:208个
cpp:11个
cu:9个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 127 浏览量
2023-12-24
09:55:10
上传
评论
收藏 347KB ZIP 举报
温馨提示
图像检测图像检测图像检测图像检测图像检测图像检测图像检测图像检测图像检测图像检测 图像检测图像检测图像检测图像检测图像检测图像检测图像检测图像检测图像检测图像检测 图像检测图像检测图像检测图像检测图像检测图像检测图像检测图像检测图像检测图像检测 图像检测图像检测图像检测图像检测图像检测图像检测图像检测图像检测图像检测图像检测 图像检测图像检测图像检测图像检测图像检测图像检测图像检测图像检测图像检测图像检测 图像检测图像检测图像检测图像检测图像检测图像检测图像检测图像检测图像检测图像检测 图像检测图像检测图像检测图像检测图像检测图像检测图像检测图像检测图像检测图像检测 图像检测图像检测图像检测图像检测图像检测图像检测图像检测图像检测图像检测图像检测 图像检测图像检测图像检测图像检测图像检测图像检测图像检测图像检测图像检测图像检测 图像检测图像检测图像检测图像检测图像检测图像检测图像检测图像检测图像检测图像检测 图像检测图像检测图像检测图像检测图像检测图像检测图像检测图像检测图像检测图像检测 图像检测图像检测图像检测图像检测图像检测图像检测图像检测图像检测图像检测图像检测 图像检测图像检
资源推荐
资源详情
资源评论
收起资源包目录
水下目标检测算法赛(声学图像赛项)解决方案.zip (243个子文件)
deform_conv_cuda.cpp 29KB
nms_cpu.cpp 15KB
carafe_cuda.cpp 5KB
deform_pool_cuda.cpp 4KB
roi_align_cuda.cpp 3KB
roi_pool_cuda.cpp 3KB
carafe_naive_cuda.cpp 3KB
masked_conv2d_cuda.cpp 3KB
sigmoid_focal_loss.cpp 2KB
compiling_info.cpp 1KB
nms_cuda.cpp 575B
deform_conv_cuda_kernel.cu 42KB
carafe_cuda_kernel.cu 20KB
deform_pool_cuda_kernel.cu 16KB
roi_align_kernel.cu 11KB
carafe_naive_cuda_kernel.cu 7KB
roi_pool_kernel.cu 7KB
sigmoid_focal_loss_cuda.cu 6KB
nms_kernel.cu 5KB
masked_conv2d_kernel.cu 5KB
.gitignore 1KB
pytest.ini 293B
README.md 2KB
ss.md 37B
transforms.py 53KB
reppoints_head.py 27KB
bbox_head.py 26KB
guided_anchor_head.py 25KB
cascade_rcnn.py 23KB
htc.py 22KB
hrnet.py 19KB
resnet.py 19KB
atss_head.py 19KB
mean_ap.py 18KB
deform_conv.py 16KB
fcos_head.py 16KB
fovea_head.py 16KB
coco.py 16KB
grid_head.py 15KB
convfc_bbox_head.py 15KB
generalized_attention.py 15KB
flops_counter.py 14KB
test.py 14KB
two_stage.py 14KB
anchor_head.py 14KB
test_mixins.py 12KB
guided_anchor_target.py 12KB
transforms.py 10KB
deform_pool.py 10KB
fpn_carafe.py 10KB
train.py 10KB
setup.py 9KB
grid_rcnn.py 9KB
carafe.py 9KB
cascade_rcnn_dconv_c3-c5_r101_uncertain_MS_dufpn_1x.py 9KB
pascal2coco.py 8KB
mask_scoring_rcnn.py 8KB
max_iou_assigner.py 8KB
bifpn.py 8KB
fcn_mask_head.py 8KB
ssd_head.py 8KB
custom.py 8KB
anchor_target.py 8KB
bbox_nms.py 7KB
resnext.py 7KB
maskiou_head.py 7KB
double_head_rcnn.py 7KB
merge_augs.py 7KB
free_anchor_retina_head.py 7KB
train.py 7KB
inference.py 7KB
assign_result.py 7KB
base.py 7KB
atss_assigner.py 7KB
coco_error_analysis.py 7KB
formating.py 7KB
iou_loss.py 6KB
fpn.py 6KB
nas_fpn.py 6KB
dufpn.py 6KB
point_target.py 6KB
recall.py 6KB
analyze_logs.py 6KB
ghm_loss.py 6KB
decorators.py 6KB
approx_max_iou_assigner.py 6KB
iou_balanced_neg_sampler.py 6KB
conv_module.py 6KB
sampler.py 6KB
point_assigner.py 6KB
nms_wrapper.py 6KB
class_names.py 5KB
ssd_vgg.py 5KB
double_bbox_head.py 5KB
sampling_result.py 5KB
loading.py 5KB
ga_rpn_head.py 5KB
sonar.py 5KB
hooks.py 5KB
vis_det.py 5KB
共 243 条
- 1
- 2
- 3
资源评论
天天501
- 粉丝: 599
- 资源: 4666
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功