Document model_old.pth
Browse files
README.md
CHANGED
|
@@ -27,6 +27,19 @@ This repo holds the trained checkpoint (`model.pth`). Access is gated: request a
|
|
| 27 |
authenticate with `hf auth login` (older `huggingface_hub`: `huggingface-cli login`), or pass
|
| 28 |
`token=` explicitly, before downloading.
|
| 29 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
To try the model on your own video without downloading anything, use the hosted
|
| 31 |
[demo Space](https://huggingface.co/spaces/hugging-apps/trackeverything).
|
| 32 |
|
|
|
|
| 27 |
authenticate with `hf auth login` (older `huggingface_hub`: `huggingface-cli login`), or pass
|
| 28 |
`token=` explicitly, before downloading.
|
| 29 |
|
| 30 |
+
`model_old.pth` is the first released checkpoint, kept so earlier results stay reproducible.
|
| 31 |
+
`model.pth` supersedes it and is what every example below loads. The two were trained with
|
| 32 |
+
different settings, which `from_pretrained` reads back from each checkpoint's own config, so
|
| 33 |
+
either file works without a code change:
|
| 34 |
+
|
| 35 |
+
```python
|
| 36 |
+
model = TrackEverything.from_pretrained("katefgroup/TrackEverything") # model.pth
|
| 37 |
+
|
| 38 |
+
from huggingface_hub import hf_hub_download
|
| 39 |
+
old = hf_hub_download("katefgroup/TrackEverything", "model_old.pth")
|
| 40 |
+
model = TrackEverything.from_pretrained(old)
|
| 41 |
+
```
|
| 42 |
+
|
| 43 |
To try the model on your own video without downloading anything, use the hosted
|
| 44 |
[demo Space](https://huggingface.co/spaces/hugging-apps/trackeverything).
|
| 45 |
|