MIT License

项目介绍

abrosua/piv_liteflownet-pytorch 是一个托管在 GitHub 上的开源项目,主要使用 Python 编写,采用 MIT License 许可证,目前获得 26 个 Star、9 次 Fork。

仓库全名
abrosua/piv_liteflownet-pytorch
开源许可证
MIT License
Star 数
26
Fork 数
9
未关闭 Issue
6

README 摘要

PIV LiteFlowNet with PyTorch This is my PyTorch reimplementation of the PIV-LiteFlowNet [1] model. It's an upgraded LiteFlowNet [2] model with additional layers and trained specifically on Particle Image Velocimetry (PIV) images (please refer to the original paper [1] for the complete dataset details and sources). Also thanks to Sniklaus [3] for the PyTorch reimplementation of the original LiteFlowNet model. If you…

完整内容见 GitHub 原始 README 或本页 。

常见问题

piv_liteflownet-pytorch 用什么语言开发?

主要使用 Python 编写,采用 MIT License 许可证,目前有 26 个 Star。

piv_liteflownet-pytorch 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 piv_liteflownet-pytorch 的源码?

可以直接克隆仓库:git clone https://github.com/abrosua/piv_liteflownet-pytorch.git,默认分支为 master;安装与运行步骤见仓库 README。

piv_liteflownet-pytorch 最近还在维护吗?

仓库最近一次更新为 2023年10月4日,当前有 6 个未关闭 Issue;Star 数为 26,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

PIV image processing solver using LiteFlowNet model, written in PyTorch as the deep learning framework

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
47
价值分
18
活跃状态
活跃

语言占比

Python
Shell

贡献者

README

PIV LiteFlowNet with PyTorch

This is my PyTorch reimplementation of the PIV-LiteFlowNet [1] model. It’s an upgraded LiteFlowNet [2] model with additional layers and trained specifically on Particle Image Velocimetry (PIV) images (please refer to the original paper [1] for the complete dataset details and sources). Also thanks to Sniklaus [3] for the PyTorch reimplementation of the original LiteFlowNet model. If you would like to use this particular implementation, please acknowledge it appropriately [4].

Model

The trained models for both the original LiteFlowNet and PIV-LiteFlowNet are already available in the models/pretrain_torch/. These originate from the original authors, I just converted them to PyTorch.

The correlation layer is implemented in CUDA using CuPy, which is why CuPy is a required dependency. It can be installed using pip install cupy or alternatively using one of the provided binary packages as outlined in the CuPy repository.

Usage

To run it sequentially on 1000 images in your directory, starting from the first image, use the following command. There are 2 model options the are avaialble to run with, piv for the PIV-LiteFlowNet-en and hui for the original LiteFlowNet model. Please check on the CLI --help for more info.

python run.py --model piv -s 0 -n 1000 --input ./images/test --output ./test-output

If you want to visualize the flow results in sequence, or even compile it as video format, you can use the piv-viz package.

References

[1]  @article{piv-liteflownet,
         author = {Shengze Cai and Jiaming Liang and Qi Gao and Chao Xu and Runjie Wei},
         journal = {IEEE Transactions on Instrumentation and Measurement},
         title = {Particle Image Velocimetry Based on a Deep Learning Motion Estimator},
         year = {2020},
         volume = {69},
         number = {6},
         pages = {3538-3554},
         doi = {10.1109/TIM.2019.2932649}
}
[2]  @inproceedings{Hui_CVPR_2018,
         author = {Tak-Wai Hui and Xiaoou Tang and Chen Change Loy},
         title = {{LiteFlowNet}: A Lightweight Convolutional Neural Network for Optical Flow Estimation},
         booktitle = {IEEE Conference on Computer Vision and Pattern Recognition},
         year = {2018}
     }
[3]  @misc{pytorch-liteflownet,
         author = {Simon Niklaus},
         title = {A Reimplementation of {LiteFlowNet} Using {PyTorch}},
         year = {2019},
         howpublished = {\url{https://github.com/sniklaus/pytorch-liteflownet}}
    }
[4]  @misc{piv-liteflownet-pytorch,
         author = {Faber Silitonga},
         title = {A Reimplementation of {PIV-LiteFlowNet-en} Using {PyTorch}},
         year = {2021},
         howpublished = {\url{https://github.com/abrosua/piv_liteflownet-pytorch}}
    }

评论

暂无评论