GithubHelp home page GithubHelp logo

pytorch_yolov3's Introduction

最小化实现yolov3,参考 PyTorch-YOLOv3

安装

克隆文件

$ git clone 
$ cd pytorch_yolov3
# pip3 install -r requirements.txt

下载数据集

wget https://pjreddie.com/media/files/VOCtrainval_11-May-2012.tar
wget https://pjreddie.com/media/files/VOCtrainval_06-Nov-2007.tar
wget https://pjreddie.com/media/files/VOCtest_06-Nov-2007.tar
tar xf VOCtrainval_11-May-2012.tar
tar xf VOCtrainval_06-Nov-2007.tar
tar xf VOCtest_06-Nov-2007.tar

得到VOCdevkit文件夹,重命名为datasets,如下

D:\PYTORCH_YOLOV3\DATASETS
├─VOC2007
│  ├─Annotations
│  ├─ImageSets
│  │  ├─Layout
│  │  ├─Main
│  │  └─Segmentation
│  ├─JPEGImages
│  ├─labels
│  ├─SegmentationClass
│  └─SegmentationObject
└─VOC2012
    ├─Annotations
    ├─ImageSets
    │  ├─Action
    │  ├─Layout
    │  ├─Main
    │  └─Segmentation
    ├─JPEGImages
    ├─labels
    ├─SegmentationClass
    └─SegmentationObject

下载预训练权重

百度云:

链接:https://pan.baidu.com/s/1s5_gV2YaVvT4u-ZgL2vgjw 
提取码:1ik1 
复制这段内容后打开百度网盘手机App,操作更方便哦   

推断

默认使用测试集

$ python3 detect.py 

训练

下载darknet权重

wget https://pjreddie.com/media/files/darknet53.conv.74

开始训练

$ python train.py --iter 120000 --batch_size 18 --pretrained_weights weigths/darknet53.conv.74 --save_folder weights

pytorch_yolov3's People

Contributors

0asa avatar catalinolaru1 avatar eriklindernoren avatar everwinter23 avatar hexmagic avatar id9502 avatar timforby avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.