Last active
November 6, 2020 20:05
-
-
Save david-littlefield/4bee33217a80aeef9c8d9eb9f56134df 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 231 | |
# load net | |
cfg = widerface_640 | |
num_classes = len(WIDERFace_CLASSES) + 1 # +1 background | |
net = build_ssd('test', cfg['min_dim'], num_classes) # initialize SSD | |
net.load_state_dict(torch.load(args.trained_model)) | |
#net.cuda() # <---------- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment