Faster RCNN,pytorch实现主要目录说明

github地址:github.com/ruotianluo/pytorch-faster-rcnn

主要目录结构为:

  • data:数据目录
  • experiments:存放配置及shell执行脚本
  • lib:主要文件目录
  • tools:python训练脚本

experiments:

./experiments/cfgs
./experiments/cfgs/res101-lg.yml
./experiments/cfgs/res50.yml
./experiments/cfgs/vgg16.yml
./experiments/cfgs/mobile.yml
./experiments/cfgs/res101.yml
./experiments/scripts
./experiments/scripts/convert_vgg16.sh
./experiments/scripts/test_faster_rcnn_notime.sh
./experiments/scripts/train_faster_rcnn_notime.sh
./experiments/scripts/train_faster_rcnn.sh
./experiments/scripts/test_faster_rcnn.sh
./experiments/logs

tools:

./tools/test_net.py
./tools/_init_paths.py
./tools/reval.py
./tools/__pycache__
./tools/__pycache__/_init_paths.cpython-36.pyc
./tools/convert_from_tensorflow.py
./tools/convert_from_tensorflow_mobile.py
./tools/demo.py
./tools/demo.ipynb
./tools/demo_all_bboxes.py
./tools/trainval_net.py
./tools/convert_from_tensorflow_vgg.py

lib:

./lib/roi_data_layer
./lib/roi_data_layer/minibatch.py
./lib/roi_data_layer/__init__.py
./lib/roi_data_layer/layer.py
./lib/roi_data_layer/__pycache__
./lib/roi_data_layer/__pycache__/roidb.cpython-36.pyc
./lib/roi_data_layer/__pycache__/__init__.cpython-36.pyc
./lib/roi_data_layer/__pycache__/minibatch.cpython-36.pyc
./lib/roi_data_layer/__pycache__/layer.cpython-36.pyc
./lib/roi_data_layer/roidb.py
./lib/nets
./lib/nets/__init__.py
./lib/nets/network.py
./lib/nets/mobilenet_v1.py
./lib/nets/__pycache__
./lib/nets/__pycache__/resnet_v1.cpython-36.pyc
./lib/nets/__pycache__/network.cpython-36.pyc
./lib/nets/__pycache__/__init__.cpython-36.pyc
./lib/nets/__pycache__/vgg16.cpython-36.pyc
./lib/nets/__pycache__/mobilenet_v1.cpython-36.pyc
./lib/nets/vgg16.py
./lib/nets/resnet_v1.py
./lib/layer_utils
./lib/layer_utils/__init__.py
./lib/layer_utils/proposal_top_layer.py
./lib/layer_utils/roi_pooling
./lib/layer_utils/roi_pooling/__init__.py
./lib/layer_utils/roi_pooling/roi_pool.py
./lib/layer_utils/roi_pooling/build.py
./lib/layer_utils/roi_pooling/__pycache__
./lib/layer_utils/roi_pooling/__pycache__/roi_pool.cpython-36.pyc
./lib/layer_utils/roi_pooling/__pycache__/__init__.cpython-36.pyc
./lib/layer_utils/roi_pooling/src
./lib/layer_utils/roi_pooling/src/roi_pooling.c
./lib/layer_utils/roi_pooling/src/roi_pooling_cuda.c
./lib/layer_utils/roi_pooling/src/cuda
./lib/layer_utils/roi_pooling/src/cuda/roi_pooling_kernel.h
./lib/layer_utils/roi_pooling/src/cuda/roi_pooling_kernel.cu.o
./lib/layer_utils/roi_pooling/src/cuda/roi_pooling_kernel.cu
./lib/layer_utils/roi_pooling/src/roi_pooling_cuda.h
./lib/layer_utils/roi_pooling/src/roi_pooling.h
./lib/layer_utils/roi_pooling/_ext
./lib/layer_utils/roi_pooling/_ext/__init__.py
./lib/layer_utils/roi_pooling/_ext/roi_pooling
./lib/layer_utils/roi_pooling/_ext/roi_pooling/__init__.py
./lib/layer_utils/roi_pooling/_ext/roi_pooling/__pycache__
./lib/layer_utils/roi_pooling/_ext/roi_pooling/__pycache__/__init__.cpython-36.pyc
./lib/layer_utils/roi_pooling/_ext/roi_pooling/_roi_pooling.so
./lib/layer_utils/roi_pooling/_ext/__pycache__
./lib/layer_utils/roi_pooling/_ext/__pycache__/__init__.cpython-36.pyc
./lib/layer_utils/proposal_layer.py
./lib/layer_utils/__pycache__
./lib/layer_utils/__pycache__/snippets.cpython-36.pyc
./lib/layer_utils/__pycache__/anchor_target_layer.cpython-36.pyc
./lib/layer_utils/__pycache__/proposal_layer.cpython-36.pyc
./lib/layer_utils/__pycache__/proposal_top_layer.cpython-36.pyc
./lib/layer_utils/__pycache__/__init__.cpython-36.pyc
./lib/layer_utils/__pycache__/generate_anchors.cpython-36.pyc
./lib/layer_utils/__pycache__/proposal_target_layer.cpython-36.pyc
./lib/layer_utils/generate_anchors.py
./lib/layer_utils/anchor_target_layer.py
./lib/layer_utils/snippets.py
./lib/layer_utils/proposal_target_layer.py
./lib/layer_utils/roi_align
./lib/layer_utils/roi_align/crop_and_resize.py
./lib/layer_utils/roi_align/__init__.py
./lib/layer_utils/roi_align/roi_align.py
./lib/layer_utils/roi_align/build.py
./lib/layer_utils/roi_align/__pycache__
./lib/layer_utils/roi_align/__pycache__/__init__.cpython-36.pyc
./lib/layer_utils/roi_align/__pycache__/crop_and_resize.cpython-36.pyc
./lib/layer_utils/roi_align/src
./lib/layer_utils/roi_align/src/crop_and_resize.c
./lib/layer_utils/roi_align/src/cuda
./lib/layer_utils/roi_align/src/cuda/crop_and_resize_kernel.cu
./lib/layer_utils/roi_align/src/cuda/crop_and_resize_kernel.cu.o
./lib/layer_utils/roi_align/src/cuda/crop_and_resize_kernel.h
./lib/layer_utils/roi_align/src/crop_and_resize.h
./lib/layer_utils/roi_align/src/crop_and_resize_gpu.h
./lib/layer_utils/roi_align/src/crop_and_resize_gpu.c
./lib/layer_utils/roi_align/_ext
./lib/layer_utils/roi_align/_ext/crop_and_resize
./lib/layer_utils/roi_align/_ext/crop_and_resize/__init__.py
./lib/layer_utils/roi_align/_ext/crop_and_resize/_crop_and_resize.so
./lib/layer_utils/roi_align/_ext/crop_and_resize/__pycache__
./lib/layer_utils/roi_align/_ext/crop_and_resize/__pycache__/__init__.cpython-36.pyc
./lib/layer_utils/roi_align/_ext/__init__.py
./lib/layer_utils/roi_align/_ext/__pycache__
./lib/layer_utils/roi_align/_ext/__pycache__/__init__.cpython-36.pyc
./lib/model
./lib/model/__init__.py
./lib/model/bbox_transform.py
./lib/model/nms_wrapper.py
./lib/model/train_val.py
./lib/model/__pycache__
./lib/model/__pycache__/nms_wrapper.cpython-36.pyc
./lib/model/__pycache__/train_val.cpython-36.pyc
./lib/model/__pycache__/test.cpython-36.pyc
./lib/model/__pycache__/bbox_transform.cpython-36.pyc
./lib/model/__pycache__/__init__.cpython-36.pyc
./lib/model/__pycache__/config.cpython-36.pyc
./lib/model/config.py
./lib/model/test.py
./lib/datasets
./lib/datasets/__init__.py
./lib/datasets/factory.py
./lib/datasets/tools
./lib/datasets/tools/mcg_munge.py
./lib/datasets/__pycache__
./lib/datasets/__pycache__/voc_eval.cpython-36.pyc
./lib/datasets/__pycache__/pascal_voc.cpython-36.pyc
./lib/datasets/__pycache__/imdb.cpython-36.pyc
./lib/datasets/__pycache__/__init__.cpython-36.pyc
./lib/datasets/__pycache__/factory.cpython-36.pyc
./lib/datasets/__pycache__/coco.cpython-36.pyc
./lib/datasets/__pycache__/ds_utils.cpython-36.pyc
./lib/datasets/VOCdevkit-matlab-wrapper
./lib/datasets/VOCdevkit-matlab-wrapper/get_voc_opts.m
./lib/datasets/VOCdevkit-matlab-wrapper/voc_eval.m
./lib/datasets/VOCdevkit-matlab-wrapper/xVOCap.m
./lib/datasets/voc_eval.py
./lib/datasets/imdb.py
./lib/datasets/coco.py
./lib/datasets/ds_utils.py
./lib/datasets/pascal_voc.py
./lib/nms
./lib/nms/__init__.py
./lib/nms/build.py
./lib/nms/__pycache__
./lib/nms/__pycache__/pth_nms.cpython-36.pyc
./lib/nms/__pycache__/__init__.cpython-36.pyc
./lib/nms/src
./lib/nms/src/nms_cuda.h
./lib/nms/src/cuda
./lib/nms/src/cuda/nms_kernel.cu.o
./lib/nms/src/cuda/nms_kernel.h
./lib/nms/src/cuda/nms_kernel.cu
./lib/nms/src/nms.c
./lib/nms/src/nms_cuda.c
./lib/nms/src/nms.h
./lib/nms/pth_nms.py
./lib/nms/_ext
./lib/nms/_ext/__init__.py
./lib/nms/_ext/__pycache__
./lib/nms/_ext/__pycache__/__init__.cpython-36.pyc
./lib/nms/_ext/nms
./lib/nms/_ext/nms/__init__.py
./lib/nms/_ext/nms/__pycache__
./lib/nms/_ext/nms/__pycache__/__init__.cpython-36.pyc
./lib/nms/_ext/nms/_nms.so
./lib/utils
./lib/utils/__init__.py
./lib/utils/visualization.py
./lib/utils/timer.py
./lib/utils/.gitignore
./lib/utils/__pycache__
./lib/utils/__pycache__/timer.cpython-36.pyc
./lib/utils/__pycache__/__init__.cpython-36.pyc
./lib/utils/__pycache__/bbox.cpython-36.pyc
./lib/utils/__pycache__/blob.cpython-36.pyc
./lib/utils/__pycache__/visualization.cpython-36.pyc
./lib/utils/bbox.py
./lib/utils/blob.py
./lib/make.sh