【人工智能】我Fork了ConvLSR-Net的项目,欢迎一起研究

图片[1] - Python AI C++笔记 - 【人工智能】我Fork了ConvLSR-Net的项目,欢迎一起研究 - Python AI C++笔记 - 小竹の笔记本

GitHub链接:https://github.com/SmallBambooCode/ConvLSR-Net

Readme:

SmallBambooCode 修改版 为了更加方便的训练&测试

  • 增加了测试日志保存
  • 修改了部分数据集文件的默认地址
  • 增加shell脚本以更方便的训练&测试模型

ConvLSR-Net

This is the code for our paper:

Results

We repeated the experiment with 5 different random seeds. The average and best results of the 5 repetitions are as follows:

MethodDatasetmIoU (Average)mIoU (Best)
ConvLSR-NetiSAID70.8±0.1170.89
ConvLSR-NetVaihingen84.56±0.0684.64
ConvLSR-NetPotsdam87.80±0.0887.91
ConvLSR-NetLoveDA54.77±0.0854.86

Due to some random operations in the training stage, reproduced results (run once) may slightly different from the reported in paper.

Data Preprocessing

Please follw the GeoSeg to preprocess the LoveDA, Potsdam and Vaihingen dataset.

Please follow the mmsegmentation to preprocess the iSAID dataset.

Training

"-c" means the path of the config, use different config to train different models.

python train_supervision.py -c ./config/isaid/convlsrnet.py
python train_supervision_dp.py -c ./config/potsdam/convlsrnet.py
python train_supervision_dp.py -c ./config/vaihingen/convlsrnet.py
python train_supervision_dp.py -c ./config/loveda/convlsrnet.py

Testing

iSAID

python test_isaid.py -c ./config/isaid/convlsrnet.py -o ./fig_results/isaid/convlsrnet_isaid/  -t "d4"

Vaihingen

python test_vaihingen.py -c ./config/vaihingen/convlsrnet.py -o ./fig_results/convlsrnet_vaihingen/ --rgb -t "d4"

Potsdam

python test_potsdam.py -c ./config/potsdam/convlsrnet.py -o ./fig_results/convlsrnet_potsdam/ --rgb -t "d4"

LoveDA (Online Testing)

My LoveDA results: LoveDA Test Results

输出RGB图像(线下测试,直接输出mIOU)

python test_loveda.py -c ./config/loveda/convlsrnet.py -o ./fig_results/convlsrnet_loveda_rgb --rgb --val -t "d4"

输出标签图像(在线测试)

python test_loveda.py -c ./config/loveda/convlsrnet.py -o ./fig_results/convlsrnet_loveda_onlinetest -t "d4"

Citation and Contact

If you find this project useful in your research, please consider citing our papers:

  • R. Zhang, Q. Zhang and G. Zhang, "LSRFormer: Efficient Transformer Supply Convolutional Neural Networks With Global Information for Aerial Image Segmentation," in IEEE Transactions on Geoscience and Remote Sensing, vol. 62, pp. 1-13, 2024, Art no. 5610713, doi: 10.1109/TGRS.2024.3366709.
@ARTICLE{10438484,
  author={Zhang, Renhe and Zhang, Qian and Zhang, Guixu},
  journal={IEEE Transactions on Geoscience and Remote Sensing}, 
  title={LSRFormer: Efficient Transformer Supply Convolutional Neural Networks With Global Information for Aerial Image Segmentation}, 
  year={2024},
  volume={62},
  number={},
  pages={1-13},
  doi={10.1109/TGRS.2024.3366709}}

If you encounter any problems while running the code, feel free to contact me via stdcoutzrh@gmail.com. Thank you!

Acknowledgement

Our training scripts comes from GeoSeg. Thanks for the author's open-sourcing code.

© 版权声明
THE END
点赞11 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情代码图片

    暂无评论内容