f2073333b710a340403843763ba60eb1e6699916,examples/data_process/tutorial_tf_dataset_voc.py,,,#,90
Before Change
ds = ds.repeat(n_epoch)
ds = ds.prefetch(buffer_size=2048)
ds = ds.batch(batch_size)
value = ds.make_one_shot_iterator().get_next()
sess = tf.InteractiveSession()
//// get a batch of images (after data augmentation)
_, _ = sess.run(value) // 1st time takes time to compile
st = time.time()
im, annbyte = sess.run(value)
print("took {}s".format(time.time() - st))
ann = []
for a in annbyte:
After Change
im, annbyte = next(iter(ds))
print("took {}s".format(time.time() - st))
im = im.numpy()
ann = []
for a in annbyte:
a = a.numpy().decode()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: tensorlayer/tensorlayer
Commit Name: f2073333b710a340403843763ba60eb1e6699916
Time: 2019-04-11
Author: rundi_wu@pku.edu.cn
File Name: examples/data_process/tutorial_tf_dataset_voc.py
Class Name:
Method Name:
Project Name: tensorlayer/tensorlayer
Commit Name: 301f593e6d80712315ec965996cdccb9a20b54c0
Time: 2019-04-24
Author: rundi_wu@pku.edu.cn
File Name: examples/pretrained_cnn/tutorial_models_squeezenetv1.py
Class Name:
Method Name:
Project Name: tensorlayer/tensorlayer
Commit Name: 13ed139f539684bf39919963241bf37ab2967d77
Time: 2019-04-23
Author: rundi_wu@pku.edu.cn
File Name: examples/pretrained_cnn/tutorial_models_mobilenetv1.py
Class Name:
Method Name: