Skip to content

Commit 478d538

Browse files
committed
[examples] vgg16 hint to get file
1 parent bb388db commit 478d538

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

example/tutorial_vgg16.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@
99
import numpy as np
1010
import time
1111
from scipy.misc import imread, imresize
12-
from data.imagenet_classes import *
12+
try:
13+
from data.imagenet_classes import *
14+
except Exception as e:
15+
raise Exception("{} / download the file from: https://github.com/zsdonghao/tensorlayer/tree/master/example/data".format(e))
1316

1417
"""
1518
VGG-16 for ImageNet

0 commit comments

Comments
 (0)