{"id":17115419,"url":"https://github.com/920232796/nestedformer","last_synced_at":"2025-10-13T14:40:34.390Z","repository":{"id":39345992,"uuid":"505025115","full_name":"920232796/NestedFormer","owner":"920232796","description":"NestedFormer: Nested Modality-Aware Transformer for Brain Tumor Segmentation (MICCAI 2022)","archived":false,"fork":false,"pushed_at":"2022-09-03T14:31:51.000Z","size":36,"stargazers_count":44,"open_issues_count":17,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-07T00:34:30.337Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/920232796.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-06-19T05:59:18.000Z","updated_at":"2025-05-08T10:15:36.000Z","dependencies_parsed_at":"2022-09-11T07:23:42.072Z","dependency_job_id":null,"html_url":"https://github.com/920232796/NestedFormer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/920232796/NestedFormer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/920232796%2FNestedFormer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/920232796%2FNestedFormer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/920232796%2FNestedFormer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/920232796%2FNestedFormer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/920232796","download_url":"https://codeload.github.com/920232796/NestedFormer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/920232796%2FNestedFormer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279015773,"owners_count":26085748,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T17:44:03.353Z","updated_at":"2025-10-13T14:40:34.343Z","avatar_url":"https://github.com/920232796.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NestedFormer\n\nNestedFormer (MICCAI2022) is a multimodal segmentation model on 3D medical images. The features of different modalities are fused through tri-oriented self-attention and cross-attention. We also improve the Poolfromer structure (CVPR2022) as an efficient encoder.\n\nRead our paper https://arxiv.org/abs/2208.14876 on ArXiv for a formal introduction.\n\n## Getting Started\n\n### Setup\n```commandline\npip install monai\npip install tqdm\npip install tensorboardX\n```\n\n### Download data\nPlease download the brats2020 datasets. Of course, switching to other datasets is ok.\n\n### Run \n``` commandline\npython main.py --distributed  --logdir=log_train_nestedformer --fold=0 --json_list=./brats2020_datajson.json --max_epochs=1000 --lrschedule=warmup_cosine --val_every=10 --data_dir=/data/MICCAI_BraTS2020_TrainingData/  --out_channels=3 --batch_size=1 --infer_overlap=0.5\n```\n--data_dir is the location of the data.\n\n## Train your own dataset\nThe data processing code is in utils/data_utils.py. You can modify this code for your own dataset.\n\n\n## Acknowledgment\nOur implementation is mainly based on the following codebases. We gratefully thank the authors for their wonderful works.\n\npytorch, monai, [monai-research-contributions](https://github.com/Project-MONAI/research-contributions)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F920232796%2Fnestedformer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F920232796%2Fnestedformer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F920232796%2Fnestedformer/lists"}