Update README
Browse files
README.md
CHANGED
|
@@ -27,18 +27,8 @@ 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 |
-
`model_old.pth` is the
|
| 31 |
-
|
| 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).
|
|
|
|
| 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 previously released checkpoint, kept for reproducibility. Pass either
|
| 31 |
+
file to `from_pretrained`.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
|
| 33 |
To try the model on your own video without downloading anything, use the hosted
|
| 34 |
[demo Space](https://huggingface.co/spaces/hugging-apps/trackeverything).
|