{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":272133018,"defaultBranch":"main","name":"mmsegmentation","ownerLogin":"open-mmlab","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2020-06-14T04:32:33.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/10245193?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1712788352.0","currentOid":""},"activityList":{"items":[{"before":null,"after":"bf37796b520358a7611fc229f104c3336f06a9b7","ref":"refs/heads/dependabot/pip/requirements/transformers-4.38.0","pushedAt":"2024-04-10T22:32:32.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"dependabot[bot]","name":null,"path":"/apps/dependabot","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/29110?s=80&v=4"},"commit":{"message":"Bump transformers from 4.19.2 to 4.38.0 in /requirements\n\nBumps [transformers](https://github.com/huggingface/transformers) from 4.19.2 to 4.38.0.\n- [Release notes](https://github.com/huggingface/transformers/releases)\n- [Commits](https://github.com/huggingface/transformers/compare/v4.19.2...v4.38.0)\n\n---\nupdated-dependencies:\n- dependency-name: transformers\n dependency-type: direct:production\n...\n\nSigned-off-by: dependabot[bot] ","shortMessageHtmlLink":"Bump transformers from 4.19.2 to 4.38.0 in /requirements"}},{"before":"be687fc476f0d3d636c810c25f09339da3e21f68","after":"b040e147adfa027bbc071b624bedf0ae84dfc922","ref":"refs/heads/main","pushedAt":"2024-03-22T10:06:06.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"xiexinch","name":"谢昕辰","path":"/xiexinch","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/15952744?s=80&v=4"},"commit":{"message":"[Fix] bugfix/avoid-runner-iter-in-vis-hook-test-mode (#3596)\n\n## Motivation\r\n\r\nThe current `SegVisualizationHook` implements the `_after_iter` method,\r\nwhich is invoked during the validation and testing pipelines. However,\r\nwhen in\r\n[test_mode](https://github.com/open-mmlab/mmsegmentation/blob/main/mmseg/engine/hooks/visualization_hook.py#L97),\r\nthe implementation attempts to access `runner.iter`. This attribute is\r\ndefined in the [`mmengine`\r\ncodebase](https://github.com/open-mmlab/mmengine/blob/main/mmengine/runner/runner.py#L538)\r\nand is designed to return `train_loop.iter`. Accessing this property\r\nduring testing can be problematic, particularly in scenarios where the\r\nmodel is being evaluated post-training, without initiating a training\r\nloop. This can lead to a crash if the implementation tries to build a\r\ntraining dataset for which the annotation file is unavailable at the\r\ntime of evaluation. Thus, it is crucial to avoid relying on this\r\nproperty in test mode.\r\n\r\n## Modification\r\n\r\nTo resolve this issue, the proposal is to replace the `_after_iter`\r\nmethod with `after_val_iter` and `after_test_iter` methods, modifying\r\ntheir behavior accordingly. Specifically, when in testing mode, the\r\nimplementation should utilize a `test_index` counter instead of\r\naccessing `runner.iter`. This adjustment will circumvent the issue of\r\naccessing `train_loop.iter` during test mode, ensuring the process does\r\nnot attempt to access or build a training dataset, thereby preventing\r\npotential crashes due to missing annotation files.","shortMessageHtmlLink":"[Fix] bugfix/avoid-runner-iter-in-vis-hook-test-mode (#3596)"}},{"before":"b6770816e539afcc6a4ed629df0a5bb1cefc2df7","after":"b040e147adfa027bbc071b624bedf0ae84dfc922","ref":"refs/heads/dev-1.x","pushedAt":"2024-03-22T10:04:17.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"xiexinch","name":"谢昕辰","path":"/xiexinch","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/15952744?s=80&v=4"},"commit":{"message":"[Fix] bugfix/avoid-runner-iter-in-vis-hook-test-mode (#3596)\n\n## Motivation\r\n\r\nThe current `SegVisualizationHook` implements the `_after_iter` method,\r\nwhich is invoked during the validation and testing pipelines. However,\r\nwhen in\r\n[test_mode](https://github.com/open-mmlab/mmsegmentation/blob/main/mmseg/engine/hooks/visualization_hook.py#L97),\r\nthe implementation attempts to access `runner.iter`. This attribute is\r\ndefined in the [`mmengine`\r\ncodebase](https://github.com/open-mmlab/mmengine/blob/main/mmengine/runner/runner.py#L538)\r\nand is designed to return `train_loop.iter`. Accessing this property\r\nduring testing can be problematic, particularly in scenarios where the\r\nmodel is being evaluated post-training, without initiating a training\r\nloop. This can lead to a crash if the implementation tries to build a\r\ntraining dataset for which the annotation file is unavailable at the\r\ntime of evaluation. Thus, it is crucial to avoid relying on this\r\nproperty in test mode.\r\n\r\n## Modification\r\n\r\nTo resolve this issue, the proposal is to replace the `_after_iter`\r\nmethod with `after_val_iter` and `after_test_iter` methods, modifying\r\ntheir behavior accordingly. Specifically, when in testing mode, the\r\nimplementation should utilize a `test_index` counter instead of\r\naccessing `runner.iter`. This adjustment will circumvent the issue of\r\naccessing `train_loop.iter` during test mode, ensuring the process does\r\nnot attempt to access or build a training dataset, thereby preventing\r\npotential crashes due to missing annotation files.","shortMessageHtmlLink":"[Fix] bugfix/avoid-runner-iter-in-vis-hook-test-mode (#3596)"}},{"before":"5465118b8c294a2b99d44ffd5c93b11564725739","after":"b6770816e539afcc6a4ed629df0a5bb1cefc2df7","ref":"refs/heads/dev-1.x","pushedAt":"2024-03-18T04:56:40.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"xiexinch","name":"谢昕辰","path":"/xiexinch","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/15952744?s=80&v=4"},"commit":{"message":"[Fix] Fix cd transform (#3598)\n\n## Motivation\r\n\r\nFix the bug that data augmentation only takes effect on one image in the\r\nchange detection task.\r\n\r\n## Modification\r\n\r\nconfigs/base/datasets/levir_256x256.py\r\nconfigs/swin/swin-tiny-patch4-window7_upernet_1xb8-20k_levir-256x256.py\r\nmmseg/datasets/transforms/transforms.py","shortMessageHtmlLink":"[Fix] Fix cd transform (#3598)"}},{"before":"be687fc476f0d3d636c810c25f09339da3e21f68","after":"5465118b8c294a2b99d44ffd5c93b11564725739","ref":"refs/heads/dev-1.x","pushedAt":"2024-03-08T02:23:28.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"xiexinch","name":"谢昕辰","path":"/xiexinch","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/15952744?s=80&v=4"},"commit":{"message":"[Fix] update build loss api (#3587)\n\n## Motivation\r\n\r\nUse `MODELS.build` instead of `build_loss`\r\n\r\n## Modification\r\n\r\nPlease briefly describe what modification is made in this PR.","shortMessageHtmlLink":"[Fix] update build loss api (#3587)"}},{"before":"95056cbcd7fd305f6982814e7a03c9a28ee97dec","after":"be687fc476f0d3d636c810c25f09339da3e21f68","ref":"refs/heads/main","pushedAt":"2024-03-08T01:44:13.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"xiexinch","name":"谢昕辰","path":"/xiexinch","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/15952744?s=80&v=4"},"commit":{"message":"fix (#3586)","shortMessageHtmlLink":"fix (#3586)"}},{"before":"95056cbcd7fd305f6982814e7a03c9a28ee97dec","after":"be687fc476f0d3d636c810c25f09339da3e21f68","ref":"refs/heads/dev-1.x","pushedAt":"2024-03-08T01:43:23.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"xiexinch","name":"谢昕辰","path":"/xiexinch","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/15952744?s=80&v=4"},"commit":{"message":"fix (#3586)","shortMessageHtmlLink":"fix (#3586)"}},{"before":"972c5cb3603508d57fbe382bdee7e838114ab418","after":"95056cbcd7fd305f6982814e7a03c9a28ee97dec","ref":"refs/heads/dev-1.x","pushedAt":"2024-03-07T10:56:13.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"xiexinch","name":"谢昕辰","path":"/xiexinch","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/15952744?s=80&v=4"},"commit":{"message":"[Fix] FIx readthedocs subfix (#3585)","shortMessageHtmlLink":"[Fix] FIx readthedocs subfix (#3585)"}},{"before":"972c5cb3603508d57fbe382bdee7e838114ab418","after":"95056cbcd7fd305f6982814e7a03c9a28ee97dec","ref":"refs/heads/main","pushedAt":"2024-03-07T10:53:01.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"xiexinch","name":"谢昕辰","path":"/xiexinch","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/15952744?s=80&v=4"},"commit":{"message":"[Fix] FIx readthedocs subfix (#3585)","shortMessageHtmlLink":"[Fix] FIx readthedocs subfix (#3585)"}},{"before":"c685fe6767c4cadf6b051983ca6208f1b9d1ccb8","after":"972c5cb3603508d57fbe382bdee7e838114ab418","ref":"refs/heads/main","pushedAt":"2024-03-07T10:44:37.000Z","pushType":"push","commitsCount":8,"pusher":{"login":"xiexinch","name":"谢昕辰","path":"/xiexinch","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/15952744?s=80&v=4"},"commit":{"message":"[Docs] Fix readthedocs (#3584)\n\nref: https://github.com/InternLM/lmdeploy/pull/1245","shortMessageHtmlLink":"[Docs] Fix readthedocs (#3584)"}},{"before":"2558a72fc8168650c3bd8efc608802b31ab6b028","after":"972c5cb3603508d57fbe382bdee7e838114ab418","ref":"refs/heads/dev-1.x","pushedAt":"2024-03-07T10:42:21.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"xiexinch","name":"谢昕辰","path":"/xiexinch","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/15952744?s=80&v=4"},"commit":{"message":"[Docs] Fix readthedocs (#3584)\n\nref: https://github.com/InternLM/lmdeploy/pull/1245","shortMessageHtmlLink":"[Docs] Fix readthedocs (#3584)"}},{"before":"1929c25581ab4a077772bcf18e1c76997e46c9d4","after":"2558a72fc8168650c3bd8efc608802b31ab6b028","ref":"refs/heads/dev-1.x","pushedAt":"2024-01-31T13:38:15.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"xiexinch","name":"谢昕辰","path":"/xiexinch","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/15952744?s=80&v=4"},"commit":{"message":"[Bug] Fix links in SWIN transformer (#3546)\n\nThanks for your contribution and we appreciate it a lot. The following\r\ninstructions would make your pull request more healthy and more easily\r\nget feedback. If you do not understand some items, don't worry, just\r\nmake the pull request and seek help from maintainers.\r\n\r\n## Motivation\r\n\r\nPlease describe the motivation of this PR and the goal you want to\r\nachieve through this PR.\r\n\r\n## Modification\r\n\r\nPlease briefly describe what modification is made in this PR.\r\n\r\n## BC-breaking (Optional)\r\n\r\nDoes the modification introduce changes that break the\r\nbackward-compatibility of the downstream repos?\r\nIf so, please describe how it breaks the compatibility and how the\r\ndownstream projects should modify their code to keep compatibility with\r\nthis PR.\r\n\r\n## Use cases (Optional)\r\n\r\nIf this PR introduces a new feature, it is better to list some use cases\r\nhere, and update the documentation.\r\n\r\n## Checklist\r\n\r\n1. Pre-commit or other linting tools are used to fix the potential lint\r\nissues.\r\n2. The modification is covered by complete unit tests. If not, please\r\nadd more unit test to ensure the correctness.\r\n3. If the modification has potential influence on downstream projects,\r\nthis PR should be tested with downstream projects, like MMDet or\r\nMMDet3D.\r\n4. The documentation has been modified accordingly, like docstring or\r\nexample tutorials.","shortMessageHtmlLink":"[Bug] Fix links in SWIN transformer (#3546)"}},{"before":"e1b48d5b2a363c1da7dbc2bd2704f97e6ef8fd76","after":"1929c25581ab4a077772bcf18e1c76997e46c9d4","ref":"refs/heads/dev-1.x","pushedAt":"2024-01-31T11:05:54.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"xiexinch","name":"谢昕辰","path":"/xiexinch","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/15952744?s=80&v=4"},"commit":{"message":"[Fix] Fix get_flops scrip (#3551)\n\n## Motivation\r\n\r\n`inputs` and `input_shape` can't be both set to mmengine api\r\n`get_model_complexity_info`\r\n\r\nhttps://github.com/open-mmlab/mmengine/pull/1056\r\n\r\n\r\n## Modification\r\n\r\nSet `input_shape` to None.","shortMessageHtmlLink":"[Fix] Fix get_flops scrip (#3551)"}},{"before":"303e7542767ca3413c5d301ac6d5f5cffcc7848f","after":"e1b48d5b2a363c1da7dbc2bd2704f97e6ef8fd76","ref":"refs/heads/dev-1.x","pushedAt":"2024-01-29T09:37:31.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"xiexinch","name":"谢昕辰","path":"/xiexinch","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/15952744?s=80&v=4"},"commit":{"message":"[New Configs] Add mmseg/configs folder & Support loveda, potsdam, schedules, default_runtime new configs (#3542)\n\n# [New Configs] Add mmseg/configs folder & Support loveda, potsdam,\r\nschedules, default_runtime new configs\r\n- As the title , the new configs path is mmseg/configs/ \r\n- The configs files for the dataset have been tested. \r\n- The purpose of this PR is to enable other community members migrating\r\nto the new config to reference the new configs files for schedules and\r\ndefault runtime. Hoping for a quick merge~~~.\r\n- Details of this task can be found at:\r\nhttps://github.com/AI-Tianlong/mmseg-new-config\r\n\r\n![image](https://github.com/AI-Tianlong/mmseg-new-config/assets/50650583/04d40057-ff2c-492c-be44-52c6d34d3676)","shortMessageHtmlLink":"[New Configs] Add mmseg/configs folder & Support loveda, potsdam, sch…"}},{"before":"7a392adcd781313da53e1865d0b097db6aeecb3b","after":"303e7542767ca3413c5d301ac6d5f5cffcc7848f","ref":"refs/heads/dev-1.x","pushedAt":"2024-01-15T04:58:56.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"xiexinch","name":"谢昕辰","path":"/xiexinch","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/15952744?s=80&v=4"},"commit":{"message":"[Fix] Fix no config link in SAN (#3517)\n\nThanks for your contribution and we appreciate it a lot. The following\r\ninstructions would make your pull request more healthy and more easily\r\nget feedback. If you do not understand some items, don't worry, just\r\nmake the pull request and seek help from maintainers.\r\n\r\n## Motivation\r\n\r\nPlease describe the motivation of this PR and the goal you want to\r\nachieve through this PR.\r\n\r\n## Modification\r\n\r\nPlease briefly describe what modification is made in this PR.\r\n\r\n## BC-breaking (Optional)\r\n\r\nDoes the modification introduce changes that break the\r\nbackward-compatibility of the downstream repos?\r\nIf so, please describe how it breaks the compatibility and how the\r\ndownstream projects should modify their code to keep compatibility with\r\nthis PR.\r\n\r\n## Use cases (Optional)\r\n\r\nIf this PR introduces a new feature, it is better to list some use cases\r\nhere, and update the documentation.\r\n\r\n## Checklist\r\n\r\n1. Pre-commit or other linting tools are used to fix the potential lint\r\nissues.\r\n2. The modification is covered by complete unit tests. If not, please\r\nadd more unit test to ensure the correctness.\r\n3. If the modification has potential influence on downstream projects,\r\nthis PR should be tested with downstream projects, like MMDet or\r\nMMDet3D.\r\n4. The documentation has been modified accordingly, like docstring or\r\nexample tutorials.","shortMessageHtmlLink":"[Fix] Fix no config link in SAN (#3517)"}},{"before":"6a709be23151912de4b67aa4e38b8b1d9ba9a8ef","after":"7a392adcd781313da53e1865d0b097db6aeecb3b","ref":"refs/heads/dev-1.x","pushedAt":"2024-01-10T08:04:31.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"xiexinch","name":"谢昕辰","path":"/xiexinch","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/15952744?s=80&v=4"},"commit":{"message":"[Feature] add HSI-Drive dataset (#3365)\n\n## Motivation\r\n\r\nThe motivation is to add a hyperspectral dataset [HSI Drive\r\n2.0](https://ipaccess.ehu.eus/HSI-Drive/) to the dataset registry which\r\nwould be, as far as I know, the first hyperspectral database of\r\nmmsegmentation. This database has been presented in [HSI-Drive v2.0:\r\nMore Data for New Challenges in Scene Understanding for Autonomous\r\nDriving](https://ieeexplore.ieee.org/document/10371793) and the initival\r\nv1 was presented in [HSI-Drive: A Dataset for the Research of\r\nHyperspectral Image Processing Applied to Autonomous Driving\r\nSystems](https://ieeexplore.ieee.org/document/9575298)\r\n\r\n## Modification\r\n\r\nI have created/modified the following aspects:\r\n- READMEs: `README.md` and `README_zh-CN.md` (sorry if translation is\r\nnot accurate).\r\n- Example project: `projects/hsidrive20_dataset` has been created and\r\nfilled for users to know how to work with this database.\r\n- Documentation: `docs/en/user_guides/2_dataset_prepare.md` and\r\n`docs/zh_cn/user_guides/2_dataset_prepare.md` (sorry if translation is\r\nnot accurate) have been updated for users to know how to download and\r\nconfigure the dataset.\r\n- Database related files: `mmseg/datasets/__init__.py`,\r\n`mmseg/datasets/hsi_drive.py` and `configs/_base_/datasets/hsi_drive.py`\r\nwhere the dataset is described and also prepared for\r\ntraining/validation/test.\r\n- Transforms related files:\r\n`mmsegmentation/mmseg/datasets/transforms/loading.py` to *include\r\nsupport for loading images from .npy files* such as the hyperspectral\r\nimages of this dataset.\r\n- Training config with well-known neural network:\r\n`configs/unet/unet-s5-d16_fcn_4xb4-160k_hsidrive-192x384.py` for people\r\nto train a standard neural network with this dataset.\r\n- Tests: added necessary files under\r\n`tests/data/pseudo_hsidrive20_dataset`.\r\n\r\n**Important:** I have also modified `.pre-commit-config.yaml` to ignore\r\nHSI error in codespell.\r\n\r\n## BC-breaking (Optional)\r\n\r\nNo.\r\n\r\n## Use cases (Optional)\r\n\r\nA train example has been added under `projects/hsidrive20_dataset` and\r\ndocumentation has been updated as it is explained in Modification\r\nsection.\r\n\r\n## Checklist\r\n\r\n1. Pre-commit or other linting tools are used to fix the potential lint\r\nissues.\r\n2. The modification is covered by complete unit tests. If not, please\r\nadd more unit test to ensure the correctness.\r\n3. If the modification has potential influence on downstream projects,\r\nthis PR should be tested with downstream projects, like MMDet or\r\nMMDet3D.\r\n4. The documentation has been modified accordingly, like docstring or\r\nexample tutorials.\r\n\r\nRegarding 1. I don't know how to solve this problem. Could you help me,\r\nplease? This causes 2 checks not to be successful.\r\n\r\n---------\r\n\r\nCo-authored-by: xiexinch ","shortMessageHtmlLink":"[Feature] add HSI-Drive dataset (#3365)"}},{"before":"bd255fcb4a4e431b82b946fbaee4b6e7b45a304a","after":"6a709be23151912de4b67aa4e38b8b1d9ba9a8ef","ref":"refs/heads/dev-1.x","pushedAt":"2024-01-05T02:28:01.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"xiexinch","name":"谢昕辰","path":"/xiexinch","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/15952744?s=80&v=4"},"commit":{"message":"[Docs] Optimize Home page format (#3483)\n\n# Optimized home page format for easier reading\r\n## English version: \r\n### Before:\r\n\r\n![image](https://github.com/open-mmlab/mmsegmentation/assets/50650583/8d077bb7-0179-4e17-970a-87a4877a7b6e)\r\n### After:\r\n\r\n![image](https://github.com/open-mmlab/mmsegmentation/assets/50650583/68b26ff0-4c32-47e7-a105-73c29ceb19c9)\r\n\r\n![image](https://github.com/open-mmlab/mmsegmentation/assets/50650583/88c9bb96-3fa4-4923-8ae4-9db28bf4eb4a)\r\n## Chineses version\r\n### Before:\r\n\r\n![image](https://github.com/open-mmlab/mmsegmentation/assets/50650583/7821cc05-755f-47ef-9ffe-f5d839ee0b6d)\r\n### After:\r\n\r\n![image](https://github.com/open-mmlab/mmsegmentation/assets/50650583/f67100cc-6066-4cfa-b4b7-c99a15e4d7a2)","shortMessageHtmlLink":"[Docs] Optimize Home page format (#3483)"}},{"before":"79753cc34fb2b7be7948170ca7d3821219a150d8","after":null,"ref":"refs/heads/dependabot/pip/requirements/transformers-4.36.0","pushedAt":"2024-01-05T02:26:58.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"dependabot[bot]","name":null,"path":"/apps/dependabot","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/29110?s=80&v=4"}},{"before":"c685fe6767c4cadf6b051983ca6208f1b9d1ccb8","after":"bd255fcb4a4e431b82b946fbaee4b6e7b45a304a","ref":"refs/heads/dev-1.x","pushedAt":"2024-01-05T02:26:36.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"xiexinch","name":"谢昕辰","path":"/xiexinch","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/15952744?s=80&v=4"},"commit":{"message":"[Doc] fix typo in `add_datasets` docs (#3496)","shortMessageHtmlLink":"[Doc] fix typo in add_datasets docs (#3496)"}},{"before":null,"after":"79753cc34fb2b7be7948170ca7d3821219a150d8","ref":"refs/heads/dependabot/pip/requirements/transformers-4.36.0","pushedAt":"2023-12-20T20:56:24.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"dependabot[bot]","name":null,"path":"/apps/dependabot","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/29110?s=80&v=4"},"commit":{"message":"Bump transformers from 4.19.2 to 4.36.0 in /requirements\n\nBumps [transformers](https://github.com/huggingface/transformers) from 4.19.2 to 4.36.0.\n- [Release notes](https://github.com/huggingface/transformers/releases)\n- [Commits](https://github.com/huggingface/transformers/compare/v4.19.2...v4.36.0)\n\n---\nupdated-dependencies:\n- dependency-name: transformers\n dependency-type: direct:production\n...\n\nSigned-off-by: dependabot[bot] ","shortMessageHtmlLink":"Bump transformers from 4.19.2 to 4.36.0 in /requirements"}},{"before":"cbf9af1e3f2eb50b58c8d783008f749ef62f2435","after":"c685fe6767c4cadf6b051983ca6208f1b9d1ccb8","ref":"refs/heads/main","pushedAt":"2023-12-14T05:07:07.000Z","pushType":"push","commitsCount":5,"pusher":{"login":"xiexinch","name":"谢昕辰","path":"/xiexinch","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/15952744?s=80&v=4"},"commit":{"message":"bumpv1.2.2 (#3475)","shortMessageHtmlLink":"bumpv1.2.2 (#3475)"}},{"before":"c7ac97d5dba5715785a9bde012f9e4360e0b2c37","after":"c685fe6767c4cadf6b051983ca6208f1b9d1ccb8","ref":"refs/heads/dev-1.x","pushedAt":"2023-12-14T05:02:10.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"xiexinch","name":"谢昕辰","path":"/xiexinch","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/15952744?s=80&v=4"},"commit":{"message":"bumpv1.2.2 (#3475)","shortMessageHtmlLink":"bumpv1.2.2 (#3475)"}},{"before":"7451459bb86338bb3e4bcb9254cba48537db1712","after":"c7ac97d5dba5715785a9bde012f9e4360e0b2c37","ref":"refs/heads/dev-1.x","pushedAt":"2023-12-14T02:45:36.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"xiexinch","name":"谢昕辰","path":"/xiexinch","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/15952744?s=80&v=4"},"commit":{"message":"[Feature] add -with-labels arg to inferencer for visualization without labels (#3466)\n\nThanks for your contribution and we appreciate it a lot. The following\r\ninstructions would make your pull request more healthy and more easily\r\nget feedback. If you do not understand some items, don't worry, just\r\nmake the pull request and seek help from maintainers.\r\n\r\n## Motivation\r\n\r\nIt is difficult to visualize without \"labels\" when using the inferencer.\r\n\r\n- While using the `MMSegInferencer`, the visualized prediction contains\r\nlabels on the mask, but it is difficult to pass `withLabels=False`\r\nwithout rewriting the config (which is harder to do when you initialize\r\nthe inferencer with a model name rather than the config).\r\n- I thought it would be easier to just pass `withLabels=False` to\r\n`inferencer.__call__()` since you can also pass `opacity` and other\r\nparameters anyway.\r\n\r\n## Modification\r\n\r\nPlease briefly describe what modification is made in this PR.\r\n\r\n- Added `with_labels` to `visualize_kwargs` inside `MMSegInferencer`.\r\n- Modified to `visualize()` function.\r\n\r\n## BC-breaking (Optional)\r\n\r\nDoes the modification introduce changes that break the\r\nbackward-compatibility of the downstream repos?\r\nIf so, please describe how it breaks the compatibility and how the\r\ndownstream projects should modify their code to keep compatibility with\r\nthis PR.\r\n\r\n## Use cases (Optional)\r\n\r\nIf this PR introduces a new feature, it is better to list some use cases\r\nhere, and update the documentation.\r\n\r\n## Checklist\r\n\r\n1. Pre-commit or other linting tools are used to fix the potential lint\r\nissues.\r\n2. The modification is covered by complete unit tests. If not, please\r\nadd more unit test to ensure the correctness.\r\n3. If the modification has potential influence on downstream projects,\r\nthis PR should be tested with downstream projects, like MMDet or\r\nMMDet3D.\r\n4. The documentation has been modified accordingly, like docstring or\r\nexample tutorials.\r\n\r\n---------\r\n\r\nCo-authored-by: xiexinch ","shortMessageHtmlLink":"[Feature] add -with-labels arg to inferencer for visualization withou…"}},{"before":"83bff18fcecb5951634db2b7a45045d9d131f655","after":"7451459bb86338bb3e4bcb9254cba48537db1712","ref":"refs/heads/dev-1.x","pushedAt":"2023-12-07T06:04:12.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"xiexinch","name":"谢昕辰","path":"/xiexinch","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/15952744?s=80&v=4"},"commit":{"message":"[Bugfix] test resize with pad_shape (#3421)\n\n## Motivation\r\n\r\nWhen using `test_cfg` for `data_preprocessor`, `predict_by_feat` resizes\r\nto the original size, not the padded size.\r\n\r\n```\r\ndata_preprocessor = dict(\r\n type=\"SegDataPreProcessor\",\r\n #type=\"SegDataPreProcessorWithPad\",\r\n mean=[123.675, 116.28, 103.53],\r\n std=[58.395, 57.12, 57.375],\r\n bgr_to_rgb=True,\r\n pad_val=0,\r\n seg_pad_val=255,\r\n test_cfg=dict(size=(128, 128)))\r\n```\r\n\r\nRefar to:\r\n\r\nhttps://github.com/open-mmlab/mmsegmentation/blob/main/mmseg/models/decode_heads/san_head.py#L589-L592\r\n\r\n## Checklist\r\n\r\n1. Pre-commit or other linting tools are used to fix the potential lint\r\nissues.\r\n2. The modification is covered by complete unit tests. If not, please\r\nadd more unit test to ensure the correctness.\r\n3. If the modification has potential influence on downstream projects,\r\nthis PR should be tested with downstream projects, like MMDet or\r\nMMDet3D.\r\n4. The documentation has been modified accordingly, like docstring or\r\nexample tutorials.","shortMessageHtmlLink":"[Bugfix] test resize with pad_shape (#3421)"}},{"before":"e51f511dbea15a45479f2ee4d49649d3ca0160ec","after":"83bff18fcecb5951634db2b7a45045d9d131f655","ref":"refs/heads/dev-1.x","pushedAt":"2023-12-04T06:23:29.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"xiexinch","name":"谢昕辰","path":"/xiexinch","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/15952744?s=80&v=4"},"commit":{"message":"[Bugfix] Allow custom visualizer (#3455)\n\nThanks for your contribution and we appreciate it a lot. The following\r\ninstructions would make your pull request more healthy and more easily\r\nget feedback. If you do not understand some items, don't worry, just\r\nmake the pull request and seek help from maintainers.\r\n\r\n## Motivation\r\n\r\nCurrent Visualization Hook can only get instances of\r\n`SegLocalVisualizer`. This makes impossible to use any other custom\r\nimplementation.\r\n\r\n## Modification\r\n\r\nThis PR just allows to instantiate a different visualizer (following\r\nmmdetection implementation):\r\n\r\nhttps://github.com/open-mmlab/mmdetection/blob/main/mmdet/engine/hooks/visualization_hook.py#L58","shortMessageHtmlLink":"[Bugfix] Allow custom visualizer (#3455)"}},{"before":"cbf9af1e3f2eb50b58c8d783008f749ef62f2435","after":"e51f511dbea15a45479f2ee4d49649d3ca0160ec","ref":"refs/heads/dev-1.x","pushedAt":"2023-12-04T06:23:12.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"xiexinch","name":"谢昕辰","path":"/xiexinch","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/15952744?s=80&v=4"},"commit":{"message":"[Bugfix] Fix bug in cross entropy loss (#3457)\n\nThanks for your contribution and we appreciate it a lot. The following\r\ninstructions would make your pull request more healthy and more easily\r\nget feedback. If you do not understand some items, don't worry, just\r\nmake the pull request and seek help from maintainers.\r\n\r\n## Motivation\r\n\r\nFixes https://github.com/open-mmlab/mmsegmentation/issues/3412\r\n\r\n## Modification\r\n\r\nWe just need to replace tensor creation using torch.stack() instead of\r\ntorch.tensor().\r\n\r\n## BC-breaking (Optional)\r\n\r\nDoes the modification introduce changes that break the\r\nbackward-compatibility of the downstream repos?\r\nIf so, please describe how it breaks the compatibility and how the\r\ndownstream projects should modify their code to keep compatibility with\r\nthis PR.\r\n\r\n## Use cases (Optional)\r\n\r\nIf this PR introduces a new feature, it is better to list some use cases\r\nhere, and update the documentation.\r\n\r\n## Checklist\r\n\r\n1. Pre-commit or other linting tools are used to fix the potential lint\r\nissues.\r\n2. The modification is covered by complete unit tests. If not, please\r\nadd more unit test to ensure the correctness.\r\n3. If the modification has potential influence on downstream projects,\r\nthis PR should be tested with downstream projects, like MMDet or\r\nMMDet3D.\r\n4. The documentation has been modified accordingly, like docstring or\r\nexample tutorials.","shortMessageHtmlLink":"[Bugfix] Fix bug in cross entropy loss (#3457)"}},{"before":"61e02534c637222cf3fa2465a256ab09dcbe1d8d","after":"cbf9af1e3f2eb50b58c8d783008f749ef62f2435","ref":"refs/heads/main","pushedAt":"2023-10-17T11:52:49.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"xiexinch","name":"谢昕辰","path":"/xiexinch","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/15952744?s=80&v=4"},"commit":{"message":"bumpv1.2.1 (#3391)","shortMessageHtmlLink":"bumpv1.2.1 (#3391)"}},{"before":"649c50cd48f4a694a143551c5420e3ed113fff62","after":"cbf9af1e3f2eb50b58c8d783008f749ef62f2435","ref":"refs/heads/dev-1.x","pushedAt":"2023-10-17T11:45:58.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"xiexinch","name":"谢昕辰","path":"/xiexinch","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/15952744?s=80&v=4"},"commit":{"message":"bumpv1.2.1 (#3391)","shortMessageHtmlLink":"bumpv1.2.1 (#3391)"}},{"before":"95fbfbb540bb612567a1904f3e9af8f6898d7f6e","after":"649c50cd48f4a694a143551c5420e3ed113fff62","ref":"refs/heads/dev-1.x","pushedAt":"2023-10-16T10:17:29.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"xiexinch","name":"谢昕辰","path":"/xiexinch","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/15952744?s=80&v=4"},"commit":{"message":"[Fix] Fix init api (#3388)\n\n## Motivation\r\n\r\nhttps://github.com/open-mmlab/mmsegmentation/issues/3384\r\n\r\n## Modification\r\n\r\n- mmseg/apis/inference.py","shortMessageHtmlLink":"[Fix] Fix init api (#3388)"}},{"before":"61e02534c637222cf3fa2465a256ab09dcbe1d8d","after":"95fbfbb540bb612567a1904f3e9af8f6898d7f6e","ref":"refs/heads/dev-1.x","pushedAt":"2023-10-16T03:03:59.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"xiexinch","name":"谢昕辰","path":"/xiexinch","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/15952744?s=80&v=4"},"commit":{"message":"[Fix] Add bpe_simple_vocab_16e6.txt.gz to release (#3386)\n\n## Motivation\r\n\r\nhttps://github.com/open-mmlab/mmsegmentation/issues/3383\r\n\r\n## Modification\r\n\r\n- Add bpe_simple_vocab_16e6.txt.gz to `MANIFEST.in`","shortMessageHtmlLink":"[Fix] Add bpe_simple_vocab_16e6.txt.gz to release (#3386)"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAELYffXAA","startCursor":null,"endCursor":null}},"title":"Activity · open-mmlab/mmsegmentation"}