Git Product home page Git Product logo

car_recognition's Introduction

install

  • python: Anaconda 3.5 + PyQt5
  • caffe: caffe from caffe-py3.5-windows-cpu 放在./caffe里面。结构是./caffe/bin/caffe.exe 和./caffe/python

train

python main.py 启动主界面

  • 选择 load train 打开一个文件夹。文件夹的默认结构是:
--class1
   --class1_image1.jpg
   --class1_image2.jpg
   --class1_image3.jpg
--class2
   --class2_image1.jpg
   --class2_image2.jpg
   --class2_image3.jpg
   ..................
  • 点击build data: 在dataset_namelist/文件中生成train.txt, val.txt 和classes.json,分别是用来训练,测试的数据列表和类别信息。
  • 点击start train: 开始训练,根据dataset_namelist/中的train和val进行训练和测试。用的proto是lib/finetune.prototxt, 会根据上一步中的classes.json修改finetune.prototxt和deploy.prototxt中的类别数。log显示在左侧的界面中。生成的model保存在results/文件夹中,log保存在log/文件夹中。
  • 点击stop train: 终止训练

test

python main.py 启动主界面

  • 选择左侧的load test打开一个需要预测的图像。 会调用lib/deploy.prototype作为proto,results/文件中最近更新的*.caffemodel作为weight,dataset_namelist/classes.json作为类别信息,预测结果现在选了top-5显示。

car_recognition's People

Contributors

caiqi avatar

Stargazers

 avatar  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.