Skip to content

Commit

Permalink
Update broken dataset link
Browse files Browse the repository at this point in the history
  • Loading branch information
sachinprasadhs authored Aug 28, 2023
1 parent 281e167 commit 3bb1427
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/vision/md/video_classification.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

**Author:** [Sayak Paul](https://twitter.com/RisingSayak)<br>
**Date created:** 2021/05/28<br>
**Last modified:** 2021/06/05<br>
**Last modified:** 2023/08/28<br>
**Description:** Training a video classifier with transfer learning and a recurrent model on the UCF101 dataset.


Expand Down Expand Up @@ -43,7 +43,7 @@ to know how the subsampling was done.


```python
!wget -q https://git.io/JGc31 -O ucf101_top5.tar.gz
!wget -q https://github.com/sayakpaul/Action-Recognition-in-TensorFlow/releases/download/v1.0.0/ucf101_top5.tar.gz
!tar xf ucf101_top5.tar.gz
```

Expand Down Expand Up @@ -560,7 +560,7 @@ def sequence_prediction(path):
# https://www.tensorflow.org/hub/tutorials/action_recognition_with_tf_hub
def to_gif(images):
converted_images = images.astype(np.uint8)
imageio.mimsave("animation.gif", converted_images, fps=10)
imageio.mimsave("animation.gif", converted_images, duration=100)
return embed.embed_file("animation.gif")


Expand Down

0 comments on commit 3bb1427

Please sign in to comment.