# tf-faster-rcnn
Tensorflow Faster R-CNN for Windows by using Python 3.5
This is the branch to compile Faster R-CNN on Windows. It is heavily inspired by the great work done [here](https://github.com/smallcorgi/Faster-RCNN_TF) and [here](https://github.com/rbgirshick/py-faster-rcnn). I have not implemented anything new but I fixed the implementations for Windows and Python 3.5.
### PLEASE BE AWARE: I do not have time or intention to fix all the issues for this branch as I do not use it commercially. I created this branch just for fun. If you want to make any commitment, it is more than welcome. Tensorflow has already released an object detection api. Please refer to it. https://github.com/tensorflow/models/tree/master/research/object_detection
# How To Use This Branch
1- Install tensorflow, preferably GPU version. Follow [instructions]( https://www.tensorflow.org/install/install_windows). If you do not install GPU version, you need to comment out all the GPU calls inside code and replace them with relavent CPU ones.
2- Install python packages (cython, python-opencv, easydict)
3- Checkout this branch
4- Go to ./data/coco/PythonAPI
Run `python setup.py build_ext --inplace`
Run `python setup.py build_ext install`
5- Follow this instruction to download PyCoco database. [Link]( https://github.com/rbgirshick/py-faster-rcnn#beyond-the-demo-installation-for-training-and-testing-models)
I will be glad if you can contribute with a batch script to automatically download and fetch. The final structure has to look like
"data/VOCDevkit2007/annotations_cache"
"data/VOCDevkit2007/VOC2007"
6- Download pre-trained VGG16 from [here](http://download.tensorflow.org/models/vgg_16_2016_08_28.tar.gz) and place it as "data\imagenet_weights\vgg16.ckpt"
For rest of the models, please check [here](https://github.com/tensorflow/models/tree/master/research/slim#pre-trained-models)
7- Run train.py
Notify me if there is any issue found. Please note that, I have compiled cython modules with sm61 architecture (GTX 1060, 1070 etc.). Compile support for other architectures will be added.
没有合适的资源?快使用搜索试试~ 我知道了~
Faster-RCNN-TensorFlow-Python3.5-master
共116个文件
py:33个
pyc:22个
m:8个
需积分: 21 38 下载量 75 浏览量
2018-04-28
14:34:23
上传
评论
收藏 2.96MB RAR 举报
温馨提示
Faster-RCNN-TensorFlow-Python3.5-masterFaster-RCNN-TensorFlow-Python3.5-master
资源推荐
资源详情
资源评论
收起资源包目录
Faster-RCNN-TensorFlow-Python3.5-master (116个子文件)
_mask.c 708KB
maskApi.c 8KB
maskApiMex.c 6KB
gason.cpp 10KB
gasonMex.cpp 9KB
_mask.cp35-win_amd64.exp 793B
.gitignore 64B
.gitignore 0B
gason.h 4KB
maskApi.h 2KB
CardiacMRI3.iml 459B
pycocoDemo.ipynb 2.86MB
pycocoEvalDemo.ipynb 5KB
004545.jpg 120KB
000542.jpg 113KB
000456.jpg 103KB
000457.jpg 103KB
001150.jpg 87KB
001763.jpg 72KB
instances_val2014_fakesegm100_results.json 265KB
captions_val2014_fakecap_results.json 87KB
instances_val2014_fakebbox100_results.json 59KB
person_keypoints_val2014_fakekeypoints100_results.json 35KB
_mask.cp35-win_amd64.lib 2KB
LICENSE 1KB
CocoApi.lua 11KB
MaskApi.lua 10KB
cocoDemo.lua 814B
init.lua 511B
env.lua 447B
CocoEval.m 22KB
CocoUtils.m 17KB
CocoApi.m 14KB
MaskApi.m 5KB
getPrmDflt.m 3KB
gason.m 2KB
evalDemo.m 2KB
cocoDemo.m 1KB
Makefile 207B
README.md 2KB
gasonMex.mexa64 37KB
maskApiMex.mexa64 21KB
gasonMex.mexmaci64 40KB
maskApiMex.mexmaci64 23KB
_mask.obj 861KB
maskApi.obj 35KB
cocoeval.py 24KB
cocoeval.py 24KB
network.py 19KB
coco.py 18KB
coco.py 18KB
coco.py 13KB
resnet_v1.py 12KB
pascal_voc.py 12KB
imdb.py 10KB
vgg16.py 8KB
train.py 8KB
voc_eval.py 7KB
test.py 7KB
config.py 6KB
demo.py 5KB
mask.py 5KB
mask.py 5KB
minibatch.py 3KB
bbox_transform.py 3KB
roidb.py 2KB
blob.py 2KB
factory.py 1KB
ds_utils.py 1KB
py_cpu_nms.py 1KB
timer.py 950B
nms_wrapper.py 739B
setup.py 722B
__init__.py 22B
__init__.py 22B
__init__.py 0B
__init__.py 0B
__init__.py 0B
__init__.py 0B
network.cpython-35.pyc 14KB
coco.cpython-35.pyc 11KB
pascal_voc.cpython-35.pyc 11KB
resnet_v1.cpython-35.pyc 8KB
imdb.cpython-35.pyc 8KB
test.cpython-35.pyc 7KB
voc_eval.cpython-35.pyc 6KB
vgg16.cpython-35.pyc 6KB
config.cpython-35.pyc 5KB
bbox_transform.cpython-35.pyc 3KB
minibatch.cpython-35.pyc 2KB
ds_utils.cpython-35.pyc 2KB
roidb.cpython-35.pyc 2KB
blob.cpython-35.pyc 2KB
factory.cpython-35.pyc 2KB
py_cpu_nms.cpython-35.pyc 1KB
timer.cpython-35.pyc 976B
nms_wrapper.cpython-35.pyc 558B
__init__.cpython-35.pyc 143B
__init__.cpython-35.pyc 142B
__init__.cpython-35.pyc 141B
共 116 条
- 1
- 2
资源评论
扰扰1994
- 粉丝: 184
- 资源: 62
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功