Giter Club home page Giter Club logo

deflow's Introduction

DeFlow: Self-supervised 3D Motion Estimation of Debris Flow โ›ฐ๏ธ

Liyuan Zhu, Yuru Jia, Shengyu Huang, Nicholas Meyer, Andreas Wieser, Konrad Schindler, Jordan Aaron

ETH Zurich

This repository is the official implementation of paper: DeFlow: Self-supervised 3D Motion Estimation of Debris Flow, CVPRW 2023.

Existing work on scene flow estimation focuses on autonomous driving and mobile robotics, while automated solutions are lacking for motion in nature, such as that exhibited by debris flows. We propose \deflow, a model for 3D motion estimation of debris flows, together with a newly captured dataset. We adopt a novel multi-level sensor fusion architecture and self-supervision to incorporate the inductive biases of the scene. We further adopt a multi-frame temporal processing module to enable flow speed estimation over time. Our model achieves state-of-the-art optical flow and depth estimation on our dataset, and fully automates the motion estimation for debris flows.

Installation ๐Ÿž๏ธ

First clone our repository:

git clone https://github.com/Zhu-Liyuan/DeFlow
cd DeFlow

You will need to install conda to build the environment.

conda create -n DeFlow python=3.9
conda activate DeFlow
pip install -r requirements.txt

Dataset and pretrained model

We provide preprocessed debris flow dataset. The preprocessed dataset and checkpoint can be downloaded by running:

wget --no-check-certificate --show-progress https://share.phys.ethz.ch/~gsg/DeFlow/DeFlow_Dataset.zip
unzip DeFlow_Dataset.zip -d data
wget --no-check-certificate --show-progress https://share.phys.ethz.ch/~gsg/DeFlow/checkpoint.zip
unzip checkpoint.zip

You can also build your own dataset following the structure below

โ”œโ”€โ”€ Data
    โ”œโ”€โ”€ Cam1
        โ”œโ”€โ”€ 000001.jpg
        โ”œโ”€โ”€ 000002.jpg
        .
        .
        โ”œโ”€โ”€ 00000X.jpg
    โ”œโ”€โ”€ Cam2
        โ”œโ”€โ”€ 000001.jpg
        โ”œโ”€โ”€ 000002.jpg
        .
        .
        โ”œโ”€โ”€ 00000X.jpg
    โ”œโ”€โ”€ LiDAR
        โ”œโ”€โ”€ 000001.ply
        โ”œโ”€โ”€ 000002.ply
        .
        .
        โ”œโ”€โ”€ 00000X.ply
โ”œโ”€โ”€ Transformations
        โ”œโ”€โ”€ cam_intrinxics.txt
        โ”œโ”€โ”€ LiCam_tranformations.txt

To train a model, run:

python main.py --config_path configs/deflow_default.yaml

and you can change the mode to eval in the config file for evaluation.

Contact

If you have any questions, please let me know:

Citation

If you use DeFlow for any academic work, please cite our original paper.

@InProceedings{zhu2023DeFlow,
author = {Liyuan Zhu and Yuru Jia and Shengyu Huang and Nicholas Meyer and Andreas Wieser and Konrad Schindler, Jordan Aaron},
title = {DEFLOW: Self-supervised 3D Motion Estimation of Debris Flow},
booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) Workshops},
month = {June},
year = {2023}
}

Additionally, we thank the respective developers of the following open-source projects:

deflow's People

Contributors

shengyuh avatar zhu-liyuan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

deflow's Issues

Unable to Perform eval

  1. When I set the mode parameter to eval in the configuration file (configs/deflow_default.yaml), the program still runs in training mode

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.