Update usage notes
Browse files- code/README.md +6 -5
code/README.md
CHANGED
|
@@ -122,8 +122,9 @@ mv checkpoints/tapip3d_final.pth checkpoints/tracking_model.pth
|
|
| 122 |
| `agt_completion_lora.safetensors` | LoRA for FLUX.1-Fill-dev used in the frame-0 completion | 0.7 GB |
|
| 123 |
|
| 124 |
Third-party models are loaded from the Hugging Face Hub or from a local directory and are not redistributed here.
|
| 125 |
-
|
| 126 |
-
`
|
|
|
|
| 127 |
|
| 128 |
| Model | Used for | Source |
|
| 129 |
|---|---|---|
|
|
@@ -136,7 +137,7 @@ The first run also downloads the CoTracker3 feature encoder used inside TAPIP3D
|
|
| 136 |
## Demo
|
| 137 |
|
| 138 |
The example clips of the project page are part of the dataset repository. Each case has 20 obstructed frames, an
|
| 139 |
-
occluder mask and the clip metadata.
|
| 140 |
|
| 141 |
```bash
|
| 142 |
hf download MRBSTUDIO/AmodalDrive --repo-type dataset --include "examples/*" --local-dir AmodalDrive
|
|
@@ -147,8 +148,8 @@ python inference.py \
|
|
| 147 |
--completion-python "$(conda run -n agt-completion which python)"
|
| 148 |
```
|
| 149 |
|
| 150 |
-
One case takes about 5 to 9 minutes on an H200. Add `--reconstruction-only` to stop after step 2, which takes
|
| 151 |
-
|
| 152 |
third-party models.
|
| 153 |
|
| 154 |
## Inference on your own video
|
|
|
|
| 122 |
| `agt_completion_lora.safetensors` | LoRA for FLUX.1-Fill-dev used in the frame-0 completion | 0.7 GB |
|
| 123 |
|
| 124 |
Third-party models are loaded from the Hugging Face Hub or from a local directory and are not redistributed here.
|
| 125 |
+
FLUX.1-Fill-dev is gated: accept its license on the Hub and run `hf auth login`, or pass a local copy with `--flux`.
|
| 126 |
+
The first run also downloads the CoTracker3 feature encoder used inside TAPIP3D through `torch.hub` and the LPIPS
|
| 127 |
+
network weights through torchvision (both cached under `$TORCH_HOME`).
|
| 128 |
|
| 129 |
| Model | Used for | Source |
|
| 130 |
|---|---|---|
|
|
|
|
| 137 |
## Demo
|
| 138 |
|
| 139 |
The example clips of the project page are part of the dataset repository. Each case has 20 obstructed frames, an
|
| 140 |
+
occluder mask and the clip metadata. Run the commands from the repository root.
|
| 141 |
|
| 142 |
```bash
|
| 143 |
hf download MRBSTUDIO/AmodalDrive --repo-type dataset --include "examples/*" --local-dir AmodalDrive
|
|
|
|
| 148 |
--completion-python "$(conda run -n agt-completion which python)"
|
| 149 |
```
|
| 150 |
|
| 151 |
+
One case takes about 5 to 9 minutes on an H200. Add `--reconstruction-only` to stop after step 2, which takes about
|
| 152 |
+
two minutes including model loading and needs only the main environment. Outputs are rendered at 518x294. `--flux DIR` and `--segformer DIR` point to local copies of the
|
| 153 |
third-party models.
|
| 154 |
|
| 155 |
## Inference on your own video
|