Fix URL in README Example (#76)

This commit is contained in:
Ben Evans 2024-06-28 21:15:15 +01:00 committed by GitHub
parent 19767a9d65
commit 9ed05317b7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -40,7 +40,7 @@ The easiest way to use CoTracker is to load a pretrained model from `torch.hub`:
```python ```python
import torch import torch
# Download the video # Download the video
url = 'https://github.com/facebookresearch/co-tracker/blob/main/assets/apple.mp4' url = 'https://github.com/facebookresearch/co-tracker/raw/main/assets/apple.mp4'
import imageio.v3 as iio import imageio.v3 as iio
frames = iio.imread(url, plugin="FFMPEG") # plugin="pyav" frames = iio.imread(url, plugin="FFMPEG") # plugin="pyav"