Giter Club home page Giter Club logo

yolov1's Introduction

yolo v1

项目目录

|--datasets             数据集划分及标签
    |--random.py            划分数据集 
    |--images.txt           VOC2007+VOC2012图片标签
    |--train.txt            训练集标签
    |--val.txt              验证集标签
    |--test_label.txt       测试集标签
|--imgs                 测试图片
    |--xxx.jpg
|--models               模型及损失函数
    |--resnet_yolo.py
    |--vgg_yolo.py
    |--yoloLoss.py         
|--testimg              预测图片
|--utils                工具
    |--dataset.py
    |--piplist2equal.py
    |--xml2txt.py           xml转txt
|--train.py             训练
|--predict.py           预测单张图片
|--eval_voc.py          计算AP/mAP
|--video.py             摄像头实时检测
|--requirements.txt     环境
|--log.txt              val_loss日志文件
|--requirements.txt     环境  

1. 环境准备

详细内容参考requirements.txt

2. 数据集准备

下载数据集

解压数据集
1、将voc2007和voc2012的所有图片放到目录下

2、然后使用utils/xml2txt.pyt将xml文件转成txt格式。此步骤结果已经保存,可省略。

3.训练

python train.py

4.预测

python predict.py

5.计算mAP

python eval_voc.py

6.效果

附:权重文件

ylov1.pth

链接:https://pan.baidu.com/s/1wGUevPUSERBbSVYYpSao5g 提取码:3se3

yolov1's People

Watchers

James Cloos 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.