39a106e526e70b5d64bf9f5404311eb490df6ea5,inference_worker.py,,main,#,32
Before Change
}
output = n.sess.run(outputs)
for f in output["features"]:
print("---------------------------")
for r in range(go.N):
row = ""
for c in range(go.N):
if f[r][c][0]:
row += " 0"
elif f[r][c][1]:
row += " 1"
else:
row += " ."
print(row)
if __name__ == "__main__":
flags.FLAGS(sys.argv, known_only=True)
main()
After Change
descriptor_path=FLAGS.descriptor)
print("building graph")
config = tf.ConfigProto()
config.gpu_options.allow_growth = True
sess = tf.Session(graph=tf.Graph(), config=config)
with sess.graph.as_default():
loop = dual_net.model_inference_worker_fn(worker_config)
tf.train.Saver().restore(sess, FLAGS.model)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 10
Instances
Project Name: tensorflow/minigo
Commit Name: 39a106e526e70b5d64bf9f5404311eb490df6ea5
Time: 2018-06-12
Author: tmadams@google.com
File Name: inference_worker.py
Class Name:
Method Name: main
Project Name: jhfjhfj1/autokeras
Commit Name: c99295e1903952b3b806c4fd641e28f852b17c36
Time: 2018-04-18
Author: jhfjhfj1@gmail.com
File Name: autokeras/utils.py
Class Name: ModelTrainer
Method Name: train_model
Project Name: tensorflow/minigo
Commit Name: 39a106e526e70b5d64bf9f5404311eb490df6ea5
Time: 2018-06-12
Author: tmadams@google.com
File Name: inference_worker.py
Class Name:
Method Name: main