Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix] Add setr & vit msg. #635

Merged
merged 4 commits into from
Jun 24, 2021
Merged

Conversation

clownrat6
Copy link
Contributor

Motivation

  1. The lack of SETR & ViT in the model list.

  2. The SETRUPHead still use deprecated init_weights.

Modification

  1. Add SETR & ViT url in the main readme doc.

  2. Refactor init of SETRUPHead.

@@ -25,6 +25,7 @@ def __init__(self,
num_convs=1,
up_scale=4,
kernel_size=3,
init_cfg=None,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can set the default init_cfg to implement the same weights initialization as that in init_weights

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And we can set it to None in configs if SETR does not use it.

@codecov
Copy link

codecov bot commented Jun 24, 2021

Codecov Report

Merging #635 (866cd69) into master (ec91893) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #635      +/-   ##
==========================================
- Coverage   85.78%   85.77%   -0.02%     
==========================================
  Files         103      103              
  Lines        5312     5307       -5     
  Branches      859      857       -2     
==========================================
- Hits         4557     4552       -5     
  Misses        583      583              
  Partials      172      172              
Flag Coverage Δ
unittests 85.77% <100.00%> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
mmseg/models/decode_heads/setr_up_head.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ec91893...866cd69. Read the comment docs.

@xvjiarui xvjiarui merged commit 98067be into open-mmlab:master Jun 24, 2021
bowenroom pushed a commit to bowenroom/mmsegmentation that referenced this pull request Feb 25, 2022
* [Fix] Add setr & vit msg.

* Fix init bug

* Modify init_cfg arg

* Add conv_seg init
aravind-h-v pushed a commit to aravind-h-v/mmsegmentation that referenced this pull request Mar 27, 2023
* correcting the beta value assignment

* updating DDIM and LMSDiscreteFlax schedulers

* bringing back the changes that were lost as part of main branch merge
wjkim81 pushed a commit to wjkim81/mmsegmentation that referenced this pull request Dec 3, 2023
* fix opencv-python 4.5.2 compatibility
BottomUpRandomAffine fails with opencv-python>=4.5.2 because a
single valued numpy.ndarray is no longer a valid data type for
image_size in cv2.warpAffine. This commit fix it by repacing
image_size with image_size.item().

* fix smplx 0.1.27 compatibility
smplx>=0.1.27 requires loguru, which will not be automatically installed
when installing smplx. So we add loguru into mmpose requirements.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants