• 大小: 9.13MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-11-18
  • 语言: Python
  • 标签:

资源简介

在特征金字塔网络(FPN)的Pytorch实现

资源截图

代码片段和文件信息

# --------------------------------------------------------
# Fast R-CNN
# Copyright (c) 2015 Microsoft
# Licensed under The MIT License [see LICENSE for details]
# Written by Ross Girshick
# --------------------------------------------------------

from __future__ import print_function

from Cython.Build import cythonize
from Cython.Distutils import build_ext
from setuptools import Extension
from setuptools import setup

import numpy as np


# Obtain the numpy include directory.  This logic works across numpy versions.
try:
    numpy_include = np.get_include()
except AttributeError:
    numpy_include = np.get_numpy_include()


ext_modules = [
    Extension(
        name=‘utils.cython_bbox‘
        sources=[‘utils/cython_bbox.pyx‘]
        extra_compile_args=[]
        include_dirs=[numpy_include]
    )
    Extension(
        name=‘utils.cython_nms‘
        sources=[‘utils/cython_nms.pyx‘]
        extra_compile_args=[]
        include_dirs=[numpy_include]
    )
]

setup(
    name=‘mask_rcnn‘
    ext_modules=cythonize(ext_modules)



 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-11-23 07:13  FPN-Pytorch-master\
     文件         984  2018-11-23 07:13  FPN-Pytorch-master\.gitignore
     文件         167  2018-11-23 07:13  FPN-Pytorch-master\.pylintrc
     文件         855  2018-11-23 07:13  FPN-Pytorch-master\.travis.yml
     文件        1087  2018-11-23 07:13  FPN-Pytorch-master\LICENSE
     文件        6730  2018-11-23 07:13  FPN-Pytorch-master\README.md
     目录           0  2018-11-23 07:13  FPN-Pytorch-master\configs\
     目录           0  2018-11-23 07:13  FPN-Pytorch-master\configs\baselines\
     文件         761  2018-11-23 07:13  FPN-Pytorch-master\configs\baselines\e2e_faster_rcnn_R-101-FPN_1x.yaml
     文件         763  2018-11-23 07:13  FPN-Pytorch-master\configs\baselines\e2e_faster_rcnn_R-101-FPN_2x.yaml
     文件         679  2018-11-23 07:13  FPN-Pytorch-master\configs\baselines\e2e_faster_rcnn_R-50-C4_1x.yaml
     文件         680  2018-11-23 07:13  FPN-Pytorch-master\configs\baselines\e2e_faster_rcnn_R-50-C4_2x.yaml
     文件         758  2018-11-23 07:13  FPN-Pytorch-master\configs\baselines\e2e_faster_rcnn_R-50-FPN_1x.yaml
     文件         761  2018-11-23 07:13  FPN-Pytorch-master\configs\baselines\e2e_faster_rcnn_R-50-FPN_2x.yaml
     文件         977  2018-11-23 07:13  FPN-Pytorch-master\configs\baselines\e2e_faster_rcnn_X-101-32x8d-FPN_1x.yaml
     文件         977  2018-11-23 07:13  FPN-Pytorch-master\configs\baselines\e2e_faster_rcnn_X-101-32x8d-FPN_2x.yaml
     文件         975  2018-11-23 07:13  FPN-Pytorch-master\configs\baselines\e2e_faster_rcnn_X-101-64x4d-FPN_1x.yaml
     文件         977  2018-11-23 07:13  FPN-Pytorch-master\configs\baselines\e2e_faster_rcnn_X-101-64x4d-FPN_2x.yaml
     文件        1200  2018-11-23 07:13  FPN-Pytorch-master\configs\baselines\e2e_keypoint_rcnn_R-101-FPN_1x.yaml
     文件        1203  2018-11-23 07:13  FPN-Pytorch-master\configs\baselines\e2e_keypoint_rcnn_R-101-FPN_s1x.yaml
     文件        1201  2018-11-23 07:13  FPN-Pytorch-master\configs\baselines\e2e_keypoint_rcnn_R-50-FPN_1x.yaml
     文件        1204  2018-11-23 07:13  FPN-Pytorch-master\configs\baselines\e2e_keypoint_rcnn_R-50-FPN_s1x.yaml
     文件        1349  2018-11-23 07:13  FPN-Pytorch-master\configs\baselines\e2e_keypoint_rcnn_X-101-32x8d-FPN_1x.yaml
     文件        1352  2018-11-23 07:13  FPN-Pytorch-master\configs\baselines\e2e_keypoint_rcnn_X-101-32x8d-FPN_s1x.yaml
     文件        1349  2018-11-23 07:13  FPN-Pytorch-master\configs\baselines\e2e_keypoint_rcnn_X-101-64x4d-FPN_1x.yaml
     文件        1352  2018-11-23 07:13  FPN-Pytorch-master\configs\baselines\e2e_keypoint_rcnn_X-101-64x4d-FPN_s1x.yaml
     文件         913  2018-11-23 07:13  FPN-Pytorch-master\configs\baselines\e2e_mask_rcnn_R-101-C4_2x.yaml
     文件        1105  2018-11-23 07:13  FPN-Pytorch-master\configs\baselines\e2e_mask_rcnn_R-101-FPN_1x.yaml
     文件        1090  2018-11-23 07:13  FPN-Pytorch-master\configs\baselines\e2e_mask_rcnn_R-101-FPN_2x.yaml
     文件         911  2018-11-23 07:13  FPN-Pytorch-master\configs\baselines\e2e_mask_rcnn_R-50-C4_1x.yaml
     文件         911  2018-11-23 07:13  FPN-Pytorch-master\configs\baselines\e2e_mask_rcnn_R-50-C4_2x.yaml
............此处省略303个文件信息

评论

共有 条评论