Giter VIP home page Giter VIP logo

aue8088-pa2's Introduction

HYU-AUE8088, Understanding and Utilizing Deep Learning

PA #2. Object Detection

Important Files

├── README.md
├── requirements.txt
├── datasets
│   └── nuscenes/ (see below explanation)
├── data
│   ├── ...
│   └── nuscenes.yaml
├── models
│   ├── ...
│   ├── yolo.py
│   └── yolo5n_nuscenes.yaml
├── utils
│   ├── ...
│   ├── dataloaders.py
│   └── loss.py
├── detect.py
├── debug.ipynb
└── train_simple.py

Preparation

  • Prepare dataset (4.3GB, resized images with bbox labels, front camera only)

    $ wget https://hyu-aue8088.s3.ap-northeast-2.amazonaws.com/nuscenes_det2d.tar.gz
    $ tar xzvf nuscenes_det2d.tar.gz
  • Create python virtual environment

    $ python3 -m venv venv/aue8088-pa2
    $ source venv/aue8088-pa2/bin/activate
  • Check whether the virtual environment set properly : The result should end with venv/aue8088-pa2/bin/python.

    $ which python
  • Clone base code repository (replace ircvlab to your account if you forked the repository)

    $ git clone https://github.com/ircvlab/aue8088-pa2
  • [!] Create a symbolic link for nuscenes dataset

    • Assume the below folder structure

      ├── nuscenes_det2d
      ├── aue8088-pa2
      │   ├── data/
      │   ├── models/
      │   ├── train_simple.py
      │   ├── ...
      │   └── README.md (this file)
    • Follow below commands

      $ cd aue8088-pa2
      $ mkdir datasets
      $ ln -s $(realpath ../nuscenes_det2d) datasets/nuscenes
      $
  • Install required packages

    $ pip install -r requirements.txt

Train

  • Command
    $ python train_simple.py \
      --img 416 \
      --batch-size 64 \
      --epochs 40 \
      --data data/nuscenes.yaml \
      --cfg models/yolov5n_nuscenes.yaml \
      --weights yolov5n.pt \
      --workers 16 \
      --name yolov5n

aue8088-pa2's People

Contributors

glenn-jocher avatar ayushexel avatar dependabot[bot] avatar alexstoken avatar borda avatar nanocode012 avatar developer0hye avatar pre-commit-ci[bot] avatar imyhxy avatar kalenmike avatar zengyf-cver avatar zldrobit avatar taoxiesz avatar democat3457 avatar thepycoder avatar lornatang avatar laughing-q avatar snyk-bot avatar zhiqwang avatar soonminh avatar d57montes avatar anon-artist avatar akx avatar cristifati avatar dn6 avatar jebastin-nadar avatar unglvkitde avatar tkianai avatar yxnong avatar skalskip 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.