Giter VIP home page Giter VIP logo

fedrsu's Introduction

FedRSU: Federated Learning for Scene Flow Estimation on Roadside Units

This is the official repository for our work "[FedRSU: Federated Learning for Scene Flow Estimation on Roadside Units]"(https://arxiv.org/abs/2401.12862)

FedRSU has been accepted to "IEEE Transactions on Intelligent Transportation Systems (T-ITS)"!

Installation

conda create --name fedrsu python=3.7 cmake=3.22.1

# torch
conda install pytorch==1.10.1 torchvision==0.11.2 torchaudio==0.10.1 cudatoolkit=11.3 -c pytorch -c conda-forge

# pypcd
git clone https://github.com/klintan/pypcd.git
cd pypcd
pip install python-lzf
python setup.py install

# pointnet2
cd lib/pointnet2
python3 setup.py install
cd ../../

# others
opencv-python-headless, open3d, matplotlib, tensorboardx, pyyaml, pyquaternion

Datasets

Our dataset is now available through:

Download and put the unzipped four directories in ./data.

The dataset downloaded here is a zip file composed of four separate directories: Dair-V2X, LUMPI, IPS300+ and Campus. Due to acknowledgement reasons, we haven't include IPS300+ in this initial version. We will update it in the next version soon.

Training

conda activate fedrsu

For non-distibuted setting: (Recommended)

> single gpu
python train.py --config ./config/example.yaml --alg fedavg --gpu 0

For distributed / Multi-GPU setting:

> multiple gpu
CUDA_VISIBLE_DEVICES=0,1,2,3 python -m torch.distributed.launch --nproc_per_node=4 train.py --config ./example_ddp.yaml --ddp --alg fedavg --gpu 0

Citation

@article{fang2024fedrsu,
  title={FedRSU: Federated Learning for Scene Flow Estimation on Roadside Units},
  author={Fang, Shaoheng and Ye, Rui and Wang, Wenhao and Liu, Zuhong and Wang, Yuxiao and Wang, Yafei and Chen, Siheng and Wang, Yanfeng},
  journal={arXiv preprint arXiv:2401.12862},
  year={2024}
}

fedrsu's People

Contributors

wwh0411 avatar

Stargazers

DeepPhysicVision avatar  avatar

Watchers

 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.