Commit
·
a7694f4
1
Parent(s):
5253d8d
Update README.md
Browse files
README.md
CHANGED
@@ -16,7 +16,7 @@ Used in 'aiornot' classification competition on HuggingFace. Performs binary cla
|
|
16 |
|
17 |
Use the code below to get started with the model.
|
18 |
|
19 |
-
ckpt = torch.load('
|
20 |
weights = ckpt['model']
|
21 |
model = torchvision.models.vgg19_bn().to(device)
|
22 |
model.load_state_dict(weights)
|
|
|
16 |
|
17 |
Use the code below to get started with the model.
|
18 |
|
19 |
+
ckpt = torch.load('weights.ckpt', map_location=device)
|
20 |
weights = ckpt['model']
|
21 |
model = torchvision.models.vgg19_bn().to(device)
|
22 |
model.load_state_dict(weights)
|