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

Use an enum to switch different mode in kin #17

Merged

Conversation

st9007a
Copy link
Collaborator

@st9007a st9007a commented Jul 15, 2022

As the discussion in #8, use an enum to switch the mode of KIN. It will switch to normal instance normalization if:

  1. Anchors are not provided.
  2. It's in training mode.

Other modifications:

  1. Remove use_kernelized_instance_norm and not_use_kernelized_instance_norm. They are no long used.
  2. Remove functions related to use_kernelized_instance_norm and not_use_kernelized_instance_norm.
  3. Remove internal state of KIN.

@st9007a st9007a requested a review from Kaminyou July 15, 2022 09:49
@Kaminyou Kaminyou merged commit e8706eb into Kaminyou:main Jul 18, 2022
@st9007a st9007a deleted the Use-an-enum-to-switch-different-mode-in-KIN branch July 22, 2022 04:10
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.

2 participants