b8f005eebd686c3e16b3a3603f294db0013a569e,src/predict.py,,,#,47
Before Change
print("Tensorflow backend detected; Applying memory usage constraints")
ss = K.tf.Session(config=K.tf.ConfigProto(gpu_options=K.tf.GPUOptions(allow_growth=True)))
K.set_session(ss)
ss.run(K.tf.global_variables_initializer())
pw = os.path.join(os.path.dirname(solver_json), solver["pw"])
with open(filetxt, "r") as fin:
basedir = os.path.dirname(filetxt)
After Change
mode = "opencv"
filetxt = sys.argv[1] // txt with image filenames
pw = sys.argv[2] // pretrained weights
out_directory = sys.argv[3] // output directory
// dw = 256
// dh = 256
// dw = None
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: PavlosMelissinos/enet-keras
Commit Name: b8f005eebd686c3e16b3a3603f294db0013a569e
Time: 2017-04-07
Author: pmelissi@iti.gr
File Name: src/predict.py
Class Name:
Method Name:
Project Name: reinforceio/tensorforce
Commit Name: c0a4a1f18cfb53b0deeb2c003b8e98ebab19fad8
Time: 2017-05-29
Author: fricke@elbsilber.de
File Name: examples/simple_q_agent.py
Class Name: SimpleQModel
Method Name: __init__
Project Name: deepchem/deepchem
Commit Name: 1330ea3102315bd79c9c6efdbd8818c8e2a3cb8f
Time: 2019-07-09
Author: peastman@stanford.edu
File Name: deepchem/metalearning/maml.py
Class Name: MAML
Method Name: fit