Code Monkey home page Code Monkey logo

jlx-dxl / frictionestimation Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 18.46 MB

A Tire-Road Friction Coefficient estimation method based on camera-informing and dynamic analysis. This repo is the camera-based informing module, which is implemented with a classification backbone neural network and a dynamic stream clustering.

Home Page: https://lucien-jia.notion.site/Physics-Constrained-and-Vision-Informed-Friction-Coefficient-Estimation-fba372f5dcfe46cfb35e9a743e147ccb

License: MIT License

Python 100.00%

frictionestimation's Introduction

FrictionEstimation

A Tire-Road Friction Coefficient estimation method based on camera-informing and dynamic analysis.

1. Camera-based Informing

This part gives a classification result of the surface by analyzing the texture of the surface through GLCM((Gray Level Co-occurrence Matrix)) and extracting fueature by pretrained ResNet. Later we will use this classification to inform the dynamic model.

1.1 NetWork Architecture

ClassificationArchitecture

1.2 Files

  • /data: ground truth videos, classified images(training, dev and test data);
  • /data/dataset.py: Pytorch Dataset Class, used for Dataloader;
  • /data/data_preprocess.py: Convert videos to imgs and split into train, dev and test sets;
  • /model: trained models and checkpoints;
  • train.py: main training script;
  • evaluate.py: run model on test set to evaluate it;
  • model.py: definition of the NN and the layers;
  • util.py: helper functions, like the implementation of glcm.

1.3 Commands

To train the model, run (set up the WANDB_API_KEY in util.py if using wandb):

python3 train.py --use_wandb --experiment_name="your-experiment-name" --batch_size=40 --lr=0.001 --lr_decay=0.1 --max_epoch=40 --num_workers=12 --drop_out=0.1

To evaluate on test, run:

python3 evaluate.py

1.4 Current Performance

  • 06.23 Using ResNet50

Alt text

  • 06.30 Using ResNet18

Alt text

  • 06.30 Using TensorScript for Acceleration

Alt text

  • 07.02 Stream Clustering using DBStream

Project Image

Project Image

frictionestimation's People

Contributors

jlx-dxl avatar

Stargazers

Ahmad Amine avatar

Watchers

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