94476ab74dbb7c16ced3f6b680b822df01c8b9f6,example5.py,,,#,48
Before Change
x = sess.run(data_node)
cnt += 1
num_samples += x["feature"].shape[0]
if cnt % 10 == 0:
time_used = time.perf_counter() - start_t
print("data speed: %d/s" % int(num_samples / time_used))
cnt, num_samples, start_t = 0, 0, time.perf_counter()
After Change
sess.run(tf.global_variables_initializer())
cnt, num_samples, start_t = 0, 0, time.perf_counter()
while True:
print(sess.run(data_node))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: hanxiao/bert-as-service
Commit Name: 94476ab74dbb7c16ced3f6b680b822df01c8b9f6
Time: 2018-11-27
Author: hanhxiao@tencent.com
File Name: example5.py
Class Name:
Method Name:
Project Name: dmlc/gluon-cv
Commit Name: b7988369f77e12525604e2613b279c13f041f484
Time: 2019-12-04
Author: wuxun.zhang@intel.com
File Name: scripts/pose/simple_pose/validate.py
Class Name:
Method Name:
Project Name: AlexEMG/DeepLabCut
Commit Name: 0ef2bfb1adda578c45e9c56412f86c02b950c0a3
Time: 2020-06-18
Author: saveliy.m.yusufov@gmail.com
File Name: deeplabcut/utils/make_labeled_video.py
Class Name:
Method Name: CreateVideoSlow