Code Monkey home page Code Monkey logo

yolov1_finetuned_on_voc2007's Introduction

Steps to train with the VOC2007 dataset: 
1. Download the dataset and place it in a folder

2、Run write_txt.py to generate the text files for training and testing

3、Run train.py to start training

Training with your own training set: 1.

1、Put the xml file into \VOCdevkit\VOC2007\Annotations

2、Put the jpg files into \VOCdevkit\VOC2007\JPEGImages

3、Change the VOC_CLASSES in write_txt.py

4、Change the CLASS_NUM in yoloData.py, yoloLoss.py and new_resnet.py

5. Run write_txt.py to generate the text files for training and testing

6、Run train.py to start training

This is a YOLOv1 based on the dataset VOC2007.
If we want to train it to recognize different kinds of waste to do waste sorting, we need the data of waste and change the class_set and even the size of tensor. (This tensor is 7*7*30 which can recognize 20 classes)

Most codes are copied from:
https://github.com/inging550/YOLOV1-pytorch

yolov1_finetuned_on_voc2007's People

Contributors

tyalexios avatar

Stargazers

 avatar

Watchers

 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.