Skip to content

Commit 7615075

Browse files
authored
added pre-trained weights
1 parent e760c25 commit 7615075

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,17 @@ python train.py --dataset csv --csv_train <path/to/train_annots.csv> --csv_clas
6363

6464
Note that the --csv_val argument is optional, in which case no validation will be performed.
6565

66+
## Pre-trained model
67+
68+
A pre-trained model is available at: https://drive.google.com/open?id=1yLmjq3JtXi841yXWBxst0coAgR26MNBS
69+
70+
This model can be loaded using:
71+
72+
```
73+
retinanet = model.resnet50(num_classes=dataset_train.num_classes(),)
74+
retinanet.load_state_dict(torch.load(PATH_TO_WEIGHTS))
75+
```
76+
6677
## Visualization
6778

6879
To visualize the network detection, use `visualize.py`:

0 commit comments

Comments
 (0)