Git Product home page Git Product logo

rob535_cv_deploy's Introduction

ROB535_cv_deploy

for in-class competition task1 & task2

curated by wx. zhang

for more details refer to the pdf report

Results:

Environment requirements:

  1. Python 3.6
  2. packages: mxnet, gluonbook, gluoncv, pandas, ...
  3. preferably mxnet-cu92 to use CUDA accerleration (mxnet-cu90 is recommended if you also use tf)
  4. if not using GPU, change all ctx to mx.cpu()

Directory strcuture:

root
├── data
│   ├── trainval
│       ├── 0cec3d1f-544c-4146-8632-84b1f9fe89d3
│           ├── (image, bbox, cloud, proj files)
│       ├── ...
│   ├── test
│       ├── 0ff0a23e-5f50-4461-8ccf-2b71bead2e8e
│           ├── (image, cloud, proj files)
│       ├── ...
│   ├── train.rec (7000 512*384 images + bbox labels)
│   ├── train.lst (bbox labels and filenames)
│   ├── valid.rec (573 512*384 images + bbox labels)
│   ├── valid.lst (bbox labels and filenames)
│   ├── train_v3.rec (7000 768*432 images + class labels)
│   ├── train_v3.lst (class labels and filenames)
│   ├── valid_v3.rec (573 768*432 images + class labels)
│   ├── valid_v3.lst (class labels and filenames)
│   ├── test_v3.rec (2631 768*432 images)
│   ├── test_v3.lst (a list of filenames)
│   ├── xyz_train.txt (XYZ coordinates training data)
│   ├── xyz_valid.txt (XYZ coordinates training data)
│   │
│   ├── classes.csv (class 0,1,2)
│   ├── classes_v2.csv (class 0,1,2,3,4,5)
├── mxnet-dbc
    ├── ...
├── mxnet-mlp
    ├── ...
├── mxnet-ssd (originally forked from https://github.com/zhreshold/mxnet-ssd)
    ├── ...
├── params
    ├── (network parameters for ssd and frcnn)
├── output
    ├── (txt files for kaggle upload)
├── README.md

(Note: .rec file is the mxnet RecordIO format, refer to https://github.com/leocvml/mxnet-im2rec_tutorial on how to generate them)

for task1:

  • train SSD: python mxnet-ssd/gta5_train.py
  • predict with SSD: python mxnet-ssd/gta5_predict.py 42
  • train Inception3 classifier: python mxnet-dbc/train.py
  • predict with Inception3 classifier: python mxnet-dbc/predict.py

for task2:

  • train MLP: python mxnet-mlp/mlp_train.py
  • (after predicting with SSD) predict with MLP: python mxnet-mlp/predict.py

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.