GithubHelp home page GithubHelp logo

tabdet's Introduction

Travelable Area Boundary Detection

δΈ­ζ–‡

Python Environments

Preparing

The prepared will be save in the directory assigned by the item preprocess.dst in the configuration file. Run the command:

python tools/preprocess.py --config=<configuration file> --split=<split>

For example,

python tools/preprocess.py --config=TAB_Pillar256x512x20_UNet.yaml --split=train

TRAINING

The training will use the GPU devices as much as can be gotten. You can limit and assign the device(s) via CUDA_VISIBLE_DEVICES. Checkpoints will be save in ./checkpoints/.

torchrun --nproc_per_node=2 tools/train_ddp.py --config=TAB_Pillar256x512x20_UNet.yaml --split=train --batch_size=16 --num_worker=10 --end_epoch=200

EVALUATION

A loss curve figure will be generated and saved in ./eval/. We have not done evaluation when training. You can modify the tools/train_ddp.py and try to do evaluate during training.

python tools/eval.py --config=TAB_Pillar256x512x20_UNet.yaml --batch_size=64 --num_worker=10

VISUALIZATION

Prediction results will be visualized and save in ./vis.

python tools/vis_tab.py --config=TAB_Pillar256x512x20_UNet.yaml --split=test --batch_size=64 --num_worker=10 --checkpoint=199

TEST

Assess the well-trained models. Results will be saved in ./results/.

python tools/test.py --config=TAB_Pillar256x512x20_UNet.yaml --split=test --batch_size=64 --num_worker=10 --checkpoint=199

Models

Backbone Straight-going side Turning Ignoring semantics
mF_p F_0.3 F_0.5 F_0.8 mF_p F_0.3 F_0.5 F_0.8 mF_p F_0.3 F_0.5 F_0.8
UNet 0.55 0.50 0.41 0.07 0.71 0.68 0.63 0.41 0.75 0.70 0.67 0.32
HRNet-w18 0.69 0.66 0.63 0.56 0.73 0.75 0.69 0.54 0.82 0.83 0.77 0.62
DeepLabV3+ 0.62 0.57 0.49 0.35 0.71 0.67 0.61 0.43 0.78 0.73 0.67 0.46

NOTE: The checkpoint of the DeepLabV3+ has not been uploaded because it is larger than 2 GB. You can rise up an issue and leave your email address. The checkpoint will be sent to you as soon as possible.

You can download well-trained checkpoints and move them into checkpoint directories such as ./checkpoints/TAB_Pillar256x512x20_UNet.yaml/.

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.