Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
NotificationsYou must be signed in to change notification settings

xiong-zhitong/pytorch_RFCN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is aPyTorchimplementation of R-FCN for object detection.This project is mainly based onfaster_rcnn_pytorch

For details about R-FCN please refer to thepaperR-FCN: Object Detection via Region-based Fully Convolutional Networksby Jifeng Dai, Yi Li, Kaiming He, Jian Sun.

Installation

  1. Clone the this repository

    git clone https://github.com/PureDiors/pytorch_RFCN.git
  2. Build the Cython modules for nms and the psroi_pooling layer

    cd faster_rcnn_pytorch/faster_rcnn./make.sh

The psroi pooling layer is defined in the folder faster_rcnn/psroi_pooling,and the whole detection network is implemented in faster_rcnn/rfcn.py.

Training on Pascal VOC 2007

Followthis project (TFFRCNN)to download and prepare the training, validation, test dataand the VGG16 model pre-trained on ImageNet.

Since the program loading the data infaster_rcnn_pytorch/data by default,you can set the data path as following.

cd faster_rcnn_pytorchmkdir datacd dataln -s$VOCdevkit VOCdevkit2007

The speed for training the rfcn with VGG16 on a Nvidia Titan X(Pascal) is 4.9 fps, and 12 fps for testing.

You can set some hyper-parameters intrain.py and training parameters in the.yml file.

Training with TensorBoard

With the aid ofCrayon,we can access the visualisation power of TensorBoard for anydeep learning framework.

To use the TensorBoard, install Crayon (https://github.com/torrvision/crayon)and setuse_tensorboard = True infaster_rcnn/train.py.

Evaluation

Set the path of the trained model intest.py.

cd faster_rcnn_pytorchmkdir outputpython test.py

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp