Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6cafb99

Browse files
authored
Update vt_tutorial.py (#1592)
* Update vt_tutorial.py Testing reformatting the vt_tutorial for better colab output. * Update vt_tutorial.py * Update vt_tutorial.py * Update vt_tutorial.py
1 parent 24ad87f commit 6cafb99

1 file changed

Lines changed: 9 additions & 10 deletions

File tree

beginner_source/vt_tutorial.py

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -50,17 +50,16 @@
5050
# Follow the README at the DeiT repo for detailed information on how to
5151
# classify images using DeiT, or for a quick test, first install the
5252
# required packages:
53-
#
54-
# ::
55-
#
56-
# pip install torch torchvision
57-
# pip install timm
58-
# pip install pandas
59-
# pip install requests
60-
#
61-
# then run the script below:
62-
#
6353

54+
# pip install torch torchvision timm pandas requests
55+
56+
#######################################################
57+
# To run in Google Colab, uncomment the following line:
58+
59+
# !pip install timm pandas requests
60+
61+
#############################
62+
# then run the script below:
6463

6564
from PIL import Image
6665
import torch

0 commit comments

Comments
 (0)