Skip to content
Snippets Groups Projects
  1. Mar 03, 2023
    • 谢昕辰's avatar
      bump v1.0.0rc6 (#2647) · 779b86cd
      谢昕辰 authored
      as title
      779b86cd
    • Miao Zheng's avatar
      [Enhancement] Modify interface of MMSeginferencer and add docs (#2658) · 310ec4af
      Miao Zheng authored
      
      ## Motivation
      
      Make MMSeginferencer easier to be used
      
      ## Modification
      
      1. Add `_load_weights_to_model` to MMSeginferencer, it is for get
      `dataset_meta` from ckpt
      2. Modify and remove some parameters of `__call__`, `visualization` and
      `postprocess`
      3. Add function of save seg mask, remove dump pkl.
      4. Refine docstring of MMSeginferencer and SegLocalVisualizer
      5. Add the user documentation of MMSeginferencer
      
      ## BC-breaking (Optional)
      
      yes, remove some parameters, we need to discuss whether keep them with
      deprecated waring or just remove them as the MMSeginferencer just merged
      in mmseg a few days.
      
      Co-authored-by: default avatarxiexinch <xiexinch@outlook.com>
      310ec4af
  2. Feb 28, 2023
  3. Feb 23, 2023
  4. Feb 16, 2023
  5. Feb 15, 2023
  6. Feb 03, 2023
  7. Feb 01, 2023
    • 谢昕辰's avatar
      Bump v1.0.0rc5 (#2549) · 7ac0888d
      谢昕辰 authored
      as title
      7ac0888d
    • zccjjj's avatar
      Rename typing.py to typing_utils.py (#2548) · ce63ccf7
      zccjjj authored
      ## Motivation
      
      Fix the bug in running ```collect_evn.py```. #2547 
      
      ## Modification
      
      Rename typing.py to typing_utils.py
      ce63ccf7
    • 谢昕辰's avatar
      [Refactor] Refactor fileio (#2543) · 124b87ce
      谢昕辰 authored
      ## Motivation
      
      Use the new fileio from mmengine
      https://github.com/open-mmlab/mmengine/pull/533
      
      ## Modification
      
      1. Use `mmengine.fileio` to repalce FileClient  in mmseg/datasets
      2. Use `mmengine.fileio` to repalce FileClient in
      mmseg/datasets/transforms
      3. Use `mmengine.fileio` to repalce FileClient in mmseg/visualization
      
      ## BC-breaking (Optional)
      
      we modify all the dataset configurations, so please use the latest config file.
      124b87ce
    • Siddharth Ancha's avatar
      Backward merge #2535 from `1.x` into `dev-1.x` (#2546) · 698dee95
      Siddharth Ancha authored
      
      ## Motivation
      
      This is essentially #2535 that I had intended to submit to the `dev-1.x`
      branch but accidentally submitted it directly to the `1.x` branch
      (apologies!). This also got approved possibly because the core devs also
      didn't realize this.
      
      The problem is that now `1.x` and `dev-1.x` are out of sync -- the
      changes introduced by #2535 will never be reflected in `dev-1.x`.
      
      ## Modification
      
      I'm proposing this "backward-merge" so that `1.x` and `dev-1.x` can be
      in sync again. If you look at "files changed", they are exactly the
      changes introduced by #2535.
      
      Co-authored-by: default avatarMeowZheng <meowzheng@outlook.com>
      698dee95
  8. Jan 30, 2023
    • 谢昕辰's avatar
      Bump v1.0.0rc4 (#2529) · 18ee41eb
      谢昕辰 authored
      18ee41eb
    • Siddharth Ancha's avatar
      [Fix] Unfinished label conversion from `-1` to `255` in 1.x (#2516) · d1c0a3ef
      Siddharth Ancha authored
      ## Motivation
      
      This is motivated by a previously unfinished PR (#2332). In that PR, the
      label -1 was changed to 255 in `BaseSegDataset`, which is correct.
      However, it was changed at only one location. There is another location
      in `mmseg/datasets/basesegdataset.py` where -1 was still being used that
      was not converted to 255. I have now converted it to 255.
      
      This is exactly same as a similar fix to the `master` branch via #2515 .
      
      ## Modification
      
      I've simply converted the snipped
      
      ```python
      if new_id != -1:
          new_palette.append(palette[old_id])
      ```
      to 
      ```python
      if new_id != 255:
          new_palette.append(palette[old_id])
      ```
      
      ## Checklist
      
      - [x] Pre-commit or other linting tools are used to fix the potential
      lint issues.
        - _I've fixed all linting/pre-commit errors._
      - [x] The modification is covered by complete unit tests. If not, please
      add more unit test to ensure the correctness.
        - _No unit tests need to be added or were affected.
      - [x] If the modification has potential influence on downstream
      projects, this PR should be tested with downstream projects, like MMDet
      or MMDet3D.
        - _I don't think this change affects MMDet or MMDet3D._
      - [x] The documentation has been modified accordingly, like docstring or
      example tutorials.
      - _This change fixes an existing bug and doesn't require modifying any
      documentation/docstring._
      d1c0a3ef
    • Siddharth Ancha's avatar
      [Fix] Switch order of `reduce_zero_label` and applying `label_map` in 1.x (#2517) · 74e8b89b
      Siddharth Ancha authored
      This is an almost exact duplicate of #2500 (that was made to the
      `master` branch) now applied to the `1.x` branch.
      
      ---
      
      ## Motivation
      
      I want to fix a bug through this PR. The bug occurs when two options --
      `reduce_zero_label=True`, and custom classes are used.
      `reduce_zero_label` remaps the GT seg labels by remapping the zero-class
      to 255 which is ignored. Conceptually, this should occur *before* the
      `label_map` is applied, which maps *already reduced labels*. However,
      currently, the `label_map` is applied before the zero label is reduced.
      
      ## Modification
      
      The modification is simple:
      - I've just interchanged the order of the two operations by moving a few
      lines from bottom to top.
      - I've added a test that passes when the fix is introduced, and fails on
      the original `master` branch.
      
      ## BC-breaking (Optional)
      
      I do not anticipate this change braking any backward-compatibility.
      
      ## Checklist
      
      - [x] Pre-commit or other linting tools are used to fix the potential
      lint issues.
        - _I've fixed all linting/pre-commit errors._
      - [x] The modification is covered by complete unit tests. If not, please
      add more unit test to ensure the correctness.
        - _I've added a unit test._ 
      - [x] If the modification has potential influence on downstream
      projects, this PR should be tested with downstream projects, like MMDet
      or MMDet3D.
        - _I don't think this change affects MMDet or MMDet3D._
      - [x] The documentation has been modified accordingly, like docstring or
      example tutorials.
      - _This change fixes an existing bug and doesn't require modifying any
      documentation/docstring._
      74e8b89b
  9. Jan 20, 2023
  10. Jan 17, 2023
  11. Jan 11, 2023
    • Wencheng Wu's avatar
      [Feature] Add `gt_edge_map` field. (#2466) · 8dae9465
      Wencheng Wu authored
      ## Motivation
      
      The motivation of this PR is to add `gt_edge_map` field to support
      boundary loss.
      
      ## Modification
      
      - GenerateEdge
      Modify `gt_edge` field to `gt_edge_map`.
      
      - PackSegInputs
      Add `gt_edge_map` to data_sample.
      
      - stack_batch
      Pad `gt_edge_map` to max_shape.
      
      ## BC-breaking (Optional)
      
      No
      
      ## Use cases (Optional)
      
      Reference `GenerateEdge`.
      8dae9465
  12. Jan 10, 2023
  13. Jan 06, 2023
  14. Jan 03, 2023
  15. Jan 02, 2023
  16. Dec 31, 2022
    • Miao Zheng's avatar
      Bump 1.0.0rc3 (#2446) · 6eb1a95a
      Miao Zheng authored
      ## Motivation
      
      To release 1.0.0rc3  
      
      ## Modification
      
      1. Modify mmseg version 
      2. Add change log
      3. Modify README
      4. Modify faq 
      5. Revise docker file
      6eb1a95a
  17. Dec 30, 2022
  18. Dec 06, 2022
  19. Dec 05, 2022
  20. Dec 01, 2022
    • MengzhangLI's avatar
      [Feature] Support MaskFormer(NeurIPS'2021) in MMSeg 1.x (#2215) · 933e4d3c
      MengzhangLI authored
      * [Feature] Support MaskFormer(NeurIPS'2021) in MMSeg 1.x
      
      * add mmdet try except logic
      
      * refactor config files
      
      * add readme
      
      * fix config
      
      * update models & logs
      
      * add MMDET installation and fix info
      
      * fix comments
      
      * fix
      
      * fix config norm optimizer setting
      
      * update models & logs & unittest
      
      * add docstring of MaskFormerHead
      
      * wait for mmdet 3.0.0rc4
      
      * replace seg_mask with seg_logits & add docstring for batch_input_shape
      
      * use mmdet3.0.0rc4
      
      * fix readme and modify config comments
      
      * add mmdet installation in pr_stage_test.yml
      
      * update mmcv version in pr_stage_test.yml
      
      * add mmdet in build_cpu of pr_stage_test.yml
      
      * modify mmdet& mmcv installation in merge_stage_test.yml
      
      * fix typo
      
      * update test.yml
      
      * update test.yml
      933e4d3c
    • 谢昕辰's avatar
      [Fix] Fix the problem of post-processing not removing padding (#2367) · 925faea5
      谢昕辰 authored
      * add img_padding_size
      
      * minor change
      
      * add pad_shape to data_samples
      925faea5
    • xiexinch's avatar
      update copyright · 3b731edb
      xiexinch authored
      3b731edb
    • xiexinch's avatar
      fix h,w order · 5a62b033
      xiexinch authored
      5a62b033
  21. Nov 30, 2022
  22. Nov 24, 2022
Loading