Skip to content

Conversation

NicolasHug
Copy link
Member

@NicolasHug NicolasHug commented Nov 30, 2021

This PR adds a bias parameter to ConvNormActivation. The current behaviour in main is to add a bias if there's no normalization layer, but in some cases like in RAFT, we need the biases even though there is a norm layer. For details, see: https://github.com/NicolasHug/vision/blob/5f58ec164f6cce45c155815ab5f845d4773fad94/torchvision/models/video/_raft/raft.py#L15

@facebook-github-bot
Copy link
Contributor

facebook-github-bot commented Nov 30, 2021

💊 CI failures summary and remediations

As of commit 373652b (more details on the Dr. CI page):


None of the CI failures appear to be your fault 💚



🚧 1 ongoing upstream failure:

These were probably caused by upstream breakages that are not fixed yet.


This comment was automatically generated by Dr. CI (expand for details).

Please report bugs/suggestions to the (internal) Dr. CI Users group.

Click here to manually regenerate this comment.

Copy link
Contributor

@datumbox datumbox left a comment

Choose a reason for hiding this comment

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

LGTM, just a minor typo and a missing optional on the documentation.

NicolasHug and others added 2 commits November 30, 2021 16:32
Co-authored-by: Vasilis Vryniotis <datumbox@users.noreply.github.com>
@NicolasHug NicolasHug merged commit a370e79 into pytorch:main Dec 1, 2021
Copy link
Contributor

@prabhat00155 prabhat00155 left a comment

Choose a reason for hiding this comment

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

Thanks @NicolasHug, I have a couple of comments.

facebook-github-bot pushed a commit that referenced this pull request Dec 2, 2021
Summary:
* Add bias parameter to ConvNormActivation

* Update torchvision/ops/misc.py

Reviewed By: NicolasHug

Differential Revision: D32759197

fbshipit-source-id: 08490a7a64c3e39337e32ff53fea111fdd5ee7bd

Co-authored-by: Vasilis Vryniotis <datumbox@users.noreply.github.com>
Co-authored-by: Vasilis Vryniotis <datumbox@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants