Giter VIP home page Giter VIP logo

semantic-reasoning-experiment's Introduction

Semantic-Reasoning-Experiment

the experiment part of the rcar 2023 'Knowledge Distillation on Driving Intention Generator: Learn Human-like Semantic Reasoning'.

Model Download

baidu netdisk

How To Use

CollectSimData

Collect data from CARLA simulator, support manual driving mode:

python main.py

KITTIDatasetProcessing

Process kitti dataset to get the nav map corresponding to the position:

python pose.py

NPYViewer

View the .npy format point cloud data collected by lidar:

python NPYViewer.py

SimDataProcessingPM

Process data collected from the CARLA simulatior:

  • A certain amount of time stamps:

    • generate real pm: pm.py
    • Feed data into the model to generate trajectories : img2pm.py
    • Feed data into the model to generate trajectories with multi-weathers or fake-nav: img2pm_weather.py, img2pm_fakenav.py
  • Single time stamp: *_single.py

Support to generate mp4 video for inspection.

Train

the folder 'Train' contains the definition scripts of the model.

TrajectoryEvaluation

The evaluation of the trajectory includes three indicators, namely IoU, cover rate and yaw angle change. Its core implementation is in ./utils/evaluation.py.

*Before using the evaluation script, you need to pre-generate all the trajectories.

  • A certain amount of time stamps:
    • specified interval: eval_interval.py
    • only turning: eval_turning.py and add the running parameter --turning
    • only straight: eval_turning.py and add the running parameter --st
  • Single time stamp: eval_single.py

Here are some instrumental scripts:

  • monitor.py: monitor which turns and their corresponding time stamps in the entire trip.
  • total_average.py: calculates the average of the turn evaluation and the straight-ahead evaluation.

Main Project

KD-LHSR

semantic-reasoning-experiment's People

Contributors

chrisdong-thu avatar

Watchers

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