基于Swin-Trasnformer的图像分割、语义分割

上传者: 52060635 | 上传时间: 2025-08-11 16:55:53 | 文件大小: 503.94MB | 文件类型: ZIP
可以使用自己的数据集,若使用自己的数据集,需要先对label进行voc格式转换,代码位于tools文件夹下voc.py,使用流程为使用train脚本训练网络,使用prediction脚本输出分割结果。图片位于data文件夹下,可以更换为自己的数据集,但需要保持图片为灰度图片,详情见:https://blog.csdn.net/qq_52060635/article/details/134148448?spm=1001.2014.3001.5502 初始任务为医学图像分割,可以用于其他图像处理。 详情见:https://blog.csdn.net/qq_52060635/article/details/134149072?spm=1001.2014.3001.5502 包含滑窗操作,具有层级设计的Swin Transformer滑窗操作包括不重叠的local window,和重叠的cross-window。将注意力计算限制在一个窗口中,一方面能引入CNN卷积操作的局部性,另一方面能节省计算量。

文件下载

资源详情

[{"title":"( 982 个子文件 503.94MB ) 基于Swin-Trasnformer的图像分割、语义分割","children":[{"title":"make.bat <span style='color:#111;'> 760B </span>","children":null,"spread":false},{"title":"setup.cfg <span style='color:#111;'> 427B </span>","children":null,"spread":false},{"title":"Dockerfile <span style='color:#111;'> 750B </span>","children":null,"spread":false},{"title":"seg_demo.gif <span style='color:#111;'> 929.66KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 245B </span>","children":null,"spread":false},{"title":"Swin-Transformer-Semantic-Segmentation-main.iml <span style='color:#111;'> 568B </span>","children":null,"spread":false},{"title":"pytest.ini <span style='color:#111;'> 293B </span>","children":null,"spread":false},{"title":"MMSegmentation_Tutorial.ipynb <span style='color:#111;'> 1.31MB </span>","children":null,"spread":false},{"title":"inference_demo.ipynb <span style='color:#111;'> 539.52KB </span>","children":null,"spread":false},{"title":"gray.jpg <span style='color:#111;'> 38.17KB </span>","children":null,"spread":false},{"title":"color.jpg <span style='color:#111;'> 35.01KB </span>","children":null,"spread":false},{"title":"00001_img.jpg <span style='color:#111;'> 2.30KB </span>","children":null,"spread":false},{"title":"00004_img.jpg <span style='color:#111;'> 1.86KB </span>","children":null,"spread":false},{"title":"00003_img.jpg <span style='color:#111;'> 1.82KB </span>","children":null,"spread":false},{"title":"00002_img.jpg <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false},{"title":"00000_img.jpg <span style='color:#111;'> 1.59KB </span>","children":null,"spread":false},{"title":"upernet_swin_small_patch4_window7_512x512.log.json <span style='color:#111;'> 737.91KB </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 11.92KB </span>","children":null,"spread":false},{"title":"Makefile <span style='color:#111;'> 634B </span>","children":null,"spread":false},{"title":"config.md <span style='color:#111;'> 19.77KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 18.24KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 17.25KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 15.42KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 14.99KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 14.77KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 13.76KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 10.59KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 10.22KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 10.07KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 10.06KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 10.00KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 9.99KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 9.87KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 9.61KB </span>","children":null,"spread":false},{"title":"customize_runtime.md <span style='color:#111;'> 9.41KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 7.53KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 7.53KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 7.41KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 7.36KB </span>","children":null,"spread":false},{"title":"dataset_prepare.md <span style='color:#111;'> 7.32KB </span>","children":null,"spread":false},{"title":"get_started.md <span style='color:#111;'> 6.73KB </span>","children":null,"spread":false},{"title":"customize_models.md <span style='color:#111;'> 6.37KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 6.26KB </span>","children":null,"spread":false},{"title":"changelog.md <span style='color:#111;'> 6.20KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 6.10KB </span>","children":null,"spread":false},{"title":"model_zoo.md <span style='color:#111;'> 6.04KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 5.52KB </span>","children":null,"spread":false},{"title":"inference.md <span style='color:#111;'> 4.71KB </span>","children":null,"spread":false},{"title":"customize_datasets.md <span style='color:#111;'> 4.52KB </span>","children":null,"spread":false},{"title":"data_pipeline.md <span style='color:#111;'> 4.42KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 4.02KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 3.91KB </span>","children":null,"spread":false},{"title":"train.md <span style='color:#111;'> 3.75KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 3.42KB </span>","children":null,"spread":false},{"title":"CODE_OF_CONDUCT.md <span style='color:#111;'> 3.27KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 3.17KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 3.16KB </span>","children":null,"spread":false},{"title":"useful_tools.md <span style='color:#111;'> 2.21KB </span>","children":null,"spread":false},{"title":"training_tricks.md <span style='color:#111;'> 2.20KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 2.17KB </span>","children":null,"spread":false},{"title":"CONTRIBUTING.md <span style='color:#111;'> 1.83KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false},{"title":"error-report.md <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false},{"title":"feature_request.md <span style='color:#111;'> 700B </span>","children":null,"spread":false},{"title":"general_questions.md <span style='color:#111;'> 109B </span>","children":null,"spread":false},{"title":"not-zip-safe <span style='color:#111;'> 1B </span>","children":null,"spread":false},{"title":"PKG-INFO <span style='color:#111;'> 6.28KB </span>","children":null,"spread":false},{"title":"demo.png <span style='color:#111;'> 300.65KB </span>","children":null,"spread":false},{"title":"mmseg-logo.png <span style='color:#111;'> 43.68KB </span>","children":null,"spread":false},{"title":"MCUCXR_0001_0.png <span style='color:#111;'> 35.45KB </span>","children":null,"spread":false},{"title":"seg.png <span style='color:#111;'> 4.96KB </span>","children":null,"spread":false},{"title":"MCUCXR_0001_0.png <span style='color:#111;'> 3.56KB </span>","children":null,"spread":false},{"title":"00004_gt.png <span style='color:#111;'> 206B </span>","children":null,"spread":false},{"title":"00003_gt.png <span style='color:#111;'> 198B </span>","children":null,"spread":false},{"title":"00002_gt.png <span style='color:#111;'> 193B </span>","children":null,"spread":false},{"title":"00000_gt.png <span style='color:#111;'> 188B </span>","children":null,"spread":false},{"title":"00001_gt.png <span style='color:#111;'> 186B </span>","children":null,"spread":false},{"title":"upernet_swin_small_patch4_window7_512x512.pth <span style='color:#111;'> 310.61MB </span>","children":null,"spread":false},{"title":"upernet_swin_tiny_patch4_window7_512x512.pth <span style='color:#111;'> 229.02MB </span>","children":null,"spread":false},{"title":"test_backbone.py <span style='color:#111;'> 31.54KB </span>","children":null,"spread":false},{"title":"transforms.py <span style='color:#111;'> 30.25KB </span>","children":null,"spread":false},{"title":"test_unet.py <span style='color:#111;'> 29.80KB </span>","children":null,"spread":false},{"title":"test_heads.py <span style='color:#111;'> 27.04KB </span>","children":null,"spread":false},{"title":"swin_transformer.py <span style='color:#111;'> 23.98KB </span>","children":null,"spread":false},{"title":"resnet.py <span style='color:#111;'> 23.64KB </span>","children":null,"spread":false},{"title":"hrnet.py <span style='color:#111;'> 20.61KB </span>","children":null,"spread":false},{"title":"checkpoint.py <span style='color:#111;'> 18.52KB </span>","children":null,"spread":false},{"title":"unet.py <span style='color:#111;'> 17.72KB </span>","children":null,"spread":false},{"title":"test_transform.py <span style='color:#111;'> 16.79KB </span>","children":null,"spread":false},{"title":"point_head.py <span style='color:#111;'> 14.33KB </span>","children":null,"spread":false},{"title":"fast_scnn.py <span style='color:#111;'> 14.04KB </span>","children":null,"spread":false},{"title":"custom.py <span style='color:#111;'> 14.02KB </span>","children":null,"spread":false},{"title":"cgnet.py <span style='color:#111;'> 12.80KB </span>","children":null,"spread":false},{"title":"lovasz_loss.py <span style='color:#111;'> 11.05KB </span>","children":null,"spread":false},{"title":"encoder_decoder.py <span style='color:#111;'> 10.87KB </span>","children":null,"spread":false},{"title":"mobilenet_v3.py <span style='color:#111;'> 10.06KB </span>","children":null,"spread":false},{"title":"base.py <span style='color:#111;'> 10.06KB </span>","children":null,"spread":false},{"title":"resnest.py <span style='color:#111;'> 9.85KB </span>","children":null,"spread":false},{"title":"test_dataset.py <span style='color:#111;'> 9.67KB </span>","children":null,"spread":false},{"title":"......","children":null,"spread":false},{"title":"<span style='color:steelblue;'>文件过多,未全部展示</span>","children":null,"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明