11# CSFlow
2- The implementaions of CSFlow.
2+ The implementaions of [ CSFlow: Learning Optical Flow via Cross Strip Correlation for Autonomous Driving ] ( https://arxiv.org/pdf/2202.00909.pdf ) .
33We achieve state-of-the-art accuracy on KITTI-2015 flow benchmark.
44
55![ ] ( results/compare.png )
@@ -9,13 +9,43 @@ We achieve state-of-the-art accuracy on KITTI-2015 flow benchmark.
99python setup.py develop
1010```
1111
12- # Devs
13- Hao Shi,YiFan Zhou
12+ # Pretrained Model
13+ The pretrained model that the paper used can be found there:
14+ ```
15+ https://share.weiyun.com/5t6TadPB
16+ ```
17+
18+ # Train and Eval
19+ To train, use the following command format:
20+ ```
21+ python ./tools/train.py
22+ --model CSFlow
23+ --dataset Chairs
24+ --batch_size 1
25+ --name csflow-test
26+ --validation Sintel
27+ --gpus 0
28+ --num_steps 100
29+ --lr 0.0004
30+ --image_size 368 496
31+ --wdecay 0.0001
32+ ```
33+ To eval, use the following command format:
34+ ```
35+ python ./tools/eval.py
36+ --model CSFlow
37+ --restore_ckpt ./checkpoints/CSFlow-kitti.pth
38+ --eval_iters 24
39+ --validation KITTI
40+ --val_KITTI_root $YOUR_DATA_PATH$
41+ ```
42+ For more details, please check the code or refer our [ paper] ( https://arxiv.org/pdf/2202.00909.pdf ) .
1443
1544# Folder Hierarchy
1645\* local: you should create this folder in your local repository and these folders will not upload to remote repository.
1746```
1847├── data (local) # Store test/training data
48+ ├── checkpoints (local) # Store the checkpoints
1949├── opticalflow # All source code
2050| ├─ api # Called by tools
2151| ├─ core # Core code call by other directorys. Provide dataset, models ....
@@ -26,4 +56,8 @@ Hao Shi,YiFan Zhou
2656├── work_dirs (local) # For developers to save thier own codes and assets
2757```
2858
29- # The Code is coming soon.
59+ # Devs
60+ Hao Shi,YiFan Zhou
61+
62+
63+ If you have any questions, welcome to send me an e-mail: haoshi@zju.edu.cn , and I will try my best to help you. =)
0 commit comments