Skip to content
This repository has been archived by the owner on Nov 21, 2023. It is now read-only.

Added error msg if freeze_at = 5 but body has 4 blocks #738

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Juggernaut93
Copy link
Contributor

If the ResNet does NOT have res5 into the main body and freeze_at is 5, the StopGradient layer is NOT added to the network and the user gets no feedback for the issue. With this change an assert error is generated instead.

If the ResNet does NOT have res5 into the main body and freeze_at is 5, the StopGradient layer is NOT added to the network and the user gets no feedback for the issue. With this change an assert error is generated instead.
@Juggernaut93 Juggernaut93 changed the title Added error if freeze_at = 5 but body has 4 blocks Added error msg if freeze_at = 5 but body has 4 blocks Nov 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants