资源算法Detectron2-deepfashion2

Detectron2-deepfashion2

2020-03-05 | |  47 |   0 |   0

Requirements

  • Python >= 3.6

  • PyTorch 1.3

  • torchvision that matches the PyTorch installation. You can install them together at pytorch.org to make sure of this.

  • OpenCV, needed by demo and visualization

  • fvcorepip install git+https://github.com/facebookresearch/fvcore

  • pycocotools: pip install cython; pip install git+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI

  • VS2019(no test in older version)/CUDA10.1(no test in older version)

several files must be changed by manually.

file1: 
  {your evn path}Libsite-packagestorchincludetorchcsrcjitargument_spec.h
  example:
  {C:Miniconda3envspy36}Libsite-packagestorchincludetorchcsrcjitargument_spec.h(190)
    static constexpr size_t DEPTH_LIMIT = 128;
      change to -->
    static const size_t DEPTH_LIMIT = 128;
file2: 
  {your evn path}Libsite-packagestorchincludepybind11cast.h
  example:
  {C:Miniconda3envspy36}Libsite-packagestorchincludepybind11cast.h(1449)
    explicit operator type&() { return *(this->value); }
      change to -->
    explicit operator type&() { return *((type*)this->value); }

Build detectron2

After having the above dependencies, run:

conda activate {your env}

"C:Program Files (x86)Microsoft Visual Studio2019EnterpriseVCAuxiliaryBuildvcvars64.bat"

git clone https://github.com/conansherry/detectron2

cd detectron2

python setup.py build develop

Note: you may need to rebuild detectron2 after reinstalling a different build of PyTorch.

图片.png

图片.png

Detectron2 is Facebook AI Research's next generation software system that implements state-of-the-art object detection algorithms. It is a ground-up rewrite of the previous version, Detectron, and it originates from maskrcnn-benchmark.

What's New

  • It is powered by the PyTorch deep learning framework.

  • Includes more features such as panoptic segmentation, densepose, Cascade R-CNN, rotated bounding boxes, etc.

  • Can be used as a library to support different projects on top of it. We'll open source more research projects in this way.

  • It trains much faster.

See our blog post to see more demos and learn about detectron2.

Installation

See INSTALL.md.

Quick Start

See GETTING_STARTED.md, or the Colab Notebook.

Learn more at our documentation. And see projects/ for some projects that are built on top of detectron2.

Model Zoo and Baselines

We provide a large set of baseline results and trained models available for download in the Detectron2 Model Zoo.

License

Detectron2 is released under the Apache 2.0 license.

Citing Detectron

If you use Detectron2 in your research or wish to refer to the baseline results published in the Model Zoo, please use the following BibTeX entry.

@misc{wu2019detectron2,  author =       {Yuxin Wu and Alexander Kirillov and Francisco Massa and                  Wan-Yen Lo and Ross Girshick},  title =        {Detectron2},  howpublished = {url{https://github.com/facebookresearch/detectron2}},  year =         {2019}}


上一篇:detectron2-json-export

下一篇: detectron2_for_wurenji

用户评价
全部评价

热门资源

  • Keras-ResNeXt

    Keras ResNeXt Implementation of ResNeXt models...

  • seetafaceJNI

    项目介绍 基于中科院seetaface2进行封装的JAVA...

  • spark-corenlp

    This package wraps Stanford CoreNLP annotators ...

  • capsnet-with-caps...

    CapsNet with capsule-wise convolution Project ...

  • inferno-boilerplate

    This is a very basic boilerplate example for pe...