Giter VIP home page Giter VIP logo

selfdriving-car-f18's Introduction

TASK1:

  1. Git to get our repo
  2. Change the darknet folder's name into darknet_my
  3. Download deploy.zip in the folder
  4. Unzip the deploy.zip
  5. run "python3 gen_voc_label.py"
  6. get the darknet: git clone https://github.com/pjreddie/darknet
  7. cd darkent
  8. replace the Makefile in the darknet by the Makefile under the darknet_my
  9. make
  10. put the file under darknet_my/cfg/ into darknet/cfg/
  11. put the file under darknet_my/data/ into darknet/data/
  12. replace the detector.c under darknet/example/ by the detector.c under darkent_my/example/
  13. run "wget https://pjreddie.com/media/files/darknet53.conv.74"
  14. run "./darknet detector train cfg/my.data cfg/yolov3-my.cfg darknet53.conv.74"
  15. You will see the weight in ./backup/ after every 100 iteration
  16. run "./darkent detector valid cfg/my.data cfg/yolov3-mytest.cfg ./backup/yolov3-my_xxxx.weights > result.txt"
  17. You will see the prediction result for the test data
  18. Change the format according and can be submited (18. if you want to change the resolution for training, also should run python gen_anchor.py to generate the anchor and replace it in the .cfg)

TASK2:

  1. uncommand line 493, line 497 in detector.c under example, and command line 494, line 498 in detector.c
  2. cd darknet
  3. make
  4. run "./darkent detector valid cfg/my.data cfg/yolov3-mytest.cfg ./backup/yolov3-my_xxxx.weights > result_new.txt"
  5. You will get the result_new.txt for 2d object box position and size
  6. cd ..
  7. run "python3 task2_code.py"
  8. You will get the TASK2.txt for submission

selfdriving-car-f18's People

Contributors

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