Replies: 1 comment 2 replies
-
predictor = detection_predictor("db_resnet50", pretrained=False)
weights = torch.load('../weights/db_resnet50-ac60cadc.pt', map_location=device)
predictor.model.load_state_dict(weights) |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
lanesket
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there any way to download the model (
db_resnet50) from the directory (without Hub) if I already have the weights downloaded, this is needed to use the model on a computer without internet.Beta Was this translation helpful? Give feedback.
All reactions