Last active
November 6, 2020 20:08
-
-
Save david-littlefield/0e3d409acb4648936a3404d784e7a906 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Line 191 | |
def init_priors(self ,cfg , min_size=cfg['min_sizes'], max_size=cfg['max_sizes']): | |
priorbox = PriorBox(cfg , min_size, max_size) | |
with torch.no_grad(): # <---------- | |
prior = Variable( priorbox.forward()) # <---------- | |
return prior |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment