{"id":18276245,"url":"https://github.com/hilab-git/hamil","last_synced_at":"2025-07-06T20:07:42.674Z","repository":{"id":151054903,"uuid":"623764641","full_name":"HiLab-git/HAMIL","owner":"HiLab-git","description":null,"archived":false,"fork":false,"pushed_at":"2023-06-09T01:35:50.000Z","size":129,"stargazers_count":10,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-19T11:17:36.794Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HiLab-git.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-05T03:21:39.000Z","updated_at":"2025-04-02T01:23:09.000Z","dependencies_parsed_at":"2023-06-28T21:09:53.828Z","dependency_job_id":null,"html_url":"https://github.com/HiLab-git/HAMIL","commit_stats":null,"previous_names":["hilab-git/hamil"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/HiLab-git/HAMIL","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HiLab-git%2FHAMIL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HiLab-git%2FHAMIL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HiLab-git%2FHAMIL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HiLab-git%2FHAMIL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HiLab-git","download_url":"https://codeload.github.com/HiLab-git/HAMIL/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HiLab-git%2FHAMIL/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263966168,"owners_count":23536814,"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","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-11-05T12:15:33.170Z","updated_at":"2025-07-06T20:07:42.657Z","avatar_url":"https://github.com/HiLab-git.png","language":"Python","readme":"## HAMIL: High-resolution Activation Maps and Interleaved Learning for Weakly Supervised Segmentation of Histopathological Images\n\nThis repository provides the code for \"HAMIL: High-resolution Activation Maps and Interleaved Learning for Weakly Supervised Segmentation of Histopathological Images\"\naccepted by TMI 2023.\n\n## Usage\n1. To obtain the background masks. (If the background is not white regions, skip this step)\n\n```train_set_root```: training set root, ```gamma_path```: path to save gamma transform for training set, ```gamma_crf_path```: path to save extracted backgrounds for training set, \n\n```\ngenerate_bg_masks.py --train_set_root train_set_root --gamma_path gamma_path --gamma_crf_path gamma_crf_path\n```\n\n2. Train classification network\n```\ntrain_cls.py --dataset_root dataset_root --gpu 0\n```\n\n3. Train segmentation network\n```\ntrain_seg.py --dataset_root dataset_root --gpu 0\n```\n\n## Citation\n```\n@article{zhong2023hamil,\n  title={HAMIL: High-resolution Activation Maps and Interleaved Learning for Weakly Supervised Segmentation of Histopathological Images},\n  author={Zhong, Lanfeng and Wang, Guotai and Liao, Xin and Zhang, Shaoting},\n  journal={IEEE Transactions on Medical Imaging},\n  year={2023},\n  publisher={IEEE}\n}\n```\n\n## Acknowledgement\nThe code of DeepLabv3+ is borrowed from [PuzzleCAM](https://github.com/shjo-april/PuzzleCAM)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhilab-git%2Fhamil","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhilab-git%2Fhamil","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhilab-git%2Fhamil/lists"}