Spaces:
Runtime error
Runtime error
sshi
commited on
Commit
•
cec8f07
1
Parent(s):
0aded03
Add epoch=1-step=2184.ckpt weight file.
Browse files- app.py +1 -1
- checkpoints/epoch=1-step=2184.ckpt +3 -0
app.py
CHANGED
@@ -73,7 +73,7 @@ device = "cuda" if torch.cuda.is_available() else "cpu"
|
|
73 |
feature_extractor = AutoFeatureExtractor.from_pretrained("hustvl/yolos-small", size=512, max_size=864)
|
74 |
|
75 |
# Build model and load checkpoint
|
76 |
-
checkpoint = '
|
77 |
model = Detr.load_from_checkpoint(checkpoint, lr=2.5e-5, weight_decay=1e-4)
|
78 |
|
79 |
model.to(device)
|
|
|
73 |
feature_extractor = AutoFeatureExtractor.from_pretrained("hustvl/yolos-small", size=512, max_size=864)
|
74 |
|
75 |
# Build model and load checkpoint
|
76 |
+
checkpoint = './checkpoints/epoch=1-step=2184.ckpt'
|
77 |
model = Detr.load_from_checkpoint(checkpoint, lr=2.5e-5, weight_decay=1e-4)
|
78 |
|
79 |
model.to(device)
|
checkpoints/epoch=1-step=2184.ckpt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:507d87450d7c714e2c360f4c92899c8140f9a54d5f193d2412a4494b9b95b4be
|
3 |
+
size 368111967
|