Skip to content

Commit 52cb401

Browse files
committed
[examples] vgg19 hint to get label file
1 parent 22951fd commit 52cb401

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

example/tutorial_vgg19.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@
66

77
import tensorflow as tf
88
import tensorlayer as tl
9-
from data.imagenet_classes import *
9+
try:
10+
from data.imagenet_classes import *
11+
except Exception as e:
12+
raise Exception("{} / download the file from: https://github.com/zsdonghao/tensorlayer/tree/master/example/data".format(e))
13+
1014
import os
1115
import numpy as np
1216
import time

0 commit comments

Comments
 (0)