# FasterRCNN-pytorch
FasterRCNN is implemented in VGG, ResNet and FPN base.
reference:
rbg's FasterRCNN code: [https://github.com/rbgirshick/py-faster-rcnn](https://github.com/rbgirshick/py-faster-rcnn)
-----
# Model Performance
### Train on VOC2017 Test on VOC2017
| Backbone | mAp |
| ---------- |:------:|
| VGG16 | 0.7061 |
| ResNet101 | 0.754 |
# Train Your Model
### 1.Before Run You Need:
1. cd ./lib
> Change gpu_id in make.sh and setup.py.
Detially, you need modify parameter setting in line 5, 12 and 19 in make.sh and line 143 in setup.py where include key words '-arch=' depend on your gpu model.(select appropriate architecture described in table below)
> sh make.sh
| GPU model | Architecture |
| -------- | :-----: |
| TitanX (Maxwell/Pascal) | sm_52 |
| GTX 960M | sm_50 |
| GTX 108 (Ti) |sm_61 |
| Grid K520 (AWS g2.2xlarge) |sm_30 |
| Tesla K80 (AWS p2.xlarge) |sm_37 |
2. cd ../
> mkdir ./data
> mkdir ./data/pretrained_model
> download pre-trained weights in ./data/pretrained_model
3. run train.py
### 2.How to use?
#### **Note: decentralization in preprocesing is based on BGR channels, so you must guarantee your pre-trained model is trained on the same channel set if you use transfer learning**
For example:
VGG:
CUDA_VISIBLE_DEVICES=1 python train.py --net='vgg16' --tag=vgg16 --iters=70000 --cfg='./experiments/cfgs/vgg16.yml' --weight='./data/pretrained_model/vgg16_caffe.pth'
CUDA_VISIBLE_DEVICES=2 python test.py --net='vgg16' --tag=vgg16 --model=60000 --cfg='./experiments/cfgs/vgg16.yml' --model_path='voc_2007_trainval/vgg16/vgg16_faster_rcnn' --imdb='voc_2007_test' --comp
ResNet:
CUDA_VISIBLE_DEVICES=2 python train.py --net='res18' --tag=res18 --iters=70000 --cfg='./experiments/cfgs/res18.yml' --weight='./data/pretrained_model/Resnet18_imagenet.pth'
CUDA_VISIBLE_DEVICES=3 python train.py --net='res50' --tag=res50 --iters=70000 --cfg='./experiments/cfgs/res50.yml' --weight='./data/pretrained_model/Resnet50_imagenet.pth'
CUDA_VISIBLE_DEVICES=7 python train.py --net='res101' --tag=res101 --iters=80000 --cfg='./experiments/cfgs/res101.yml' --weight='./data/pretrained_model/resnet101_caffe.pth'
CUDA_VISIBLE_DEVICES=6 python test.py --net='res101' --tag=res101_1 --cfg='./experiments/cfgs/res101.yml' --model=70000 --model_path='voc_2007_trainval/res101_1' --imdb='voc_2007_test' --comp
----
没有合适的资源?快使用搜索试试~ 我知道了~
FasterRCNN-pytorch:FasterRCNN在VGG,ResNet和FPN基础中实现

共86个文件
py:55个
yml:8个
h:6个

需积分: 41 71 下载量 56 浏览量
2021-05-13
04:09:12
上传
评论 9
收藏 106KB ZIP 举报
温馨提示
更快的RCNN-pytorch FasterRCNN在VGG,ResNet和FPN基础中实现。 参考: rbg的FasterRCNN代码: : 模型表现 在VOC2017上进行培训在VOC2017上进行测试 骨干 地图 VGG16 0.7061 ResNet101 0.754 训练模型 1.运行前,您需要: 光盘./lib 在make.sh和setup.py中更改gpu_id。 具体来说,您需要在make.sh的第5、12和19行以及setup.py的第143行中修改参数设置,其中包含关键字“ -arch =”取决于您的gpu模型。(选择适当的体系结构,见下表) sh make.sh GPU型号 建筑学 TitanX(麦克斯韦/帕斯卡) sm_52 GTX 960M sm_50 GTX 108(钛) sm_61 网格K520(AWS g2.2xlarge
资源详情
资源评论
资源推荐
收起资源包目录












































































































共 86 条
- 1














孤单的宇航员
- 粉丝: 51
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助


最新资源
- 学校信息化教育教学发展规划参考模板(1).docx
- 计算机编程技术演变过程及发展趋势的思考(1).docx
- php学生成绩标准管理系统模板.doc
- 会计实务:上海一季度98家软件企业通过认证可享受税收优惠(1).doc
- 2014年基于j2me的java游戏扑克豪斯的开发免费学士学位论文(1)(1).doc
- 网络客户服务的基本技能PPT学习课件.ppt
- 人工智能的数学基础1.ppt
- 信息化背景下大学英语教学语言输入有效性探索研究(1).docx
- 智慧城市建设-案例分析优秀课件.ppt
- QT5开发与实例第12章-Qt-5多线程PPT学习课件.ppt
- 5G+物联网解决方案服务合同(范本)(1).docx
- AutoCAD教学市公开课获奖课件省名师一等奖课件(1).ppt
- 计算机网络安全试卷(答案)(1).doc
- 农村小学学校信息化建设专业方案.docx
- 青少年网络问题.ppt
- 本科毕业设计---基于s7200plc的邮件分拣监控(1).doc
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈



安全验证
文档复制为VIP权益,开通VIP直接复制

评论0