Skip to content

Commit

Permalink
Merge pull request #68 from tokk-nv/main
Browse files Browse the repository at this point in the history
Add troubleshoot for TAM gdown error
  • Loading branch information
tokk-nv authored Jan 17, 2024
2 parents fa53342 + e69931d commit e6c3c5a
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/overrides/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,8 @@
}

.feature-box a .nv-teaser-text-link {
margin-block-start: 0em;
margin-block-end: 0em;
font-weight: 700;
padding-bottom: 15px !important;
padding-top: 0px !important;
Expand Down
37 changes: 36 additions & 1 deletion docs/vit/tutorial_tam.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,39 @@ Check out the [official tutorial](https://github.com/gaomingqi/Track-Anything/bl

<video controls autoplay>
<source src="../images/TAM_15s_1080p.mp4" type="video/mp4">
</video>
</video>

## Troubleshooting

### `FileNotFoundError: [Errno 2] No such file or directory: './checkpoints/E2FGVI-HQ-CVPR22.pth'`

You may find the TAM app fails to download a checkpoint file `E2FGVI-HQ-CVPR22.pth`.

```
Downloading checkpoints from Google Drive... tips: If you cannot see the progress bar, please try to download it manuall and put it in the checkpointes directory. E2FGVI-HQ-CVPR22.pth: https://github.com/MCG-NKU/E2FGVI(E2FGVI-HQ model)
Access denied with the following error:
Cannot retrieve the public link of the file. You may need to change
the permission to 'Anyone with the link', or have had many accesses.
You may still be able to access the file from the browser:
https://drive.google.com/uc?id=10wGdKSUOie0XmCr8SQ2A2FeDe-mfn5w3
```

You can manually download the checkpoint file on your Docker host machine.

```
cd jetson-containers/
pip install gdown
source ~/.profile
gdown https://drive.google.com/uc?id=10wGdKSUOie0XmCr8SQ2A2FeDe-mfn5w3
mv E2FGVI-HQ-CVPR22.pth ./data/models/tam/
```

And you can try running the TAM container.

```
./run.sh $(./autotag tam)
```

0 comments on commit e6c3c5a

Please sign in to comment.