f8d1d80e4d5ad4c4a000bc45b1b61e4c15714546,facegen/train.py,,train_model,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,74
Before Change
model_name = "FaceGen.model.d{:02}.{}.e{{epoch:03d}}.h5".format(deconv_layers, optimizer)
callbacks.append(
ModelCheckpoint(
os.path.join(output_dir, model_name),
monitor="loss", verbose=0, save_best_only=True,
)
)
callbacks.append(
EarlyStopping(monitor="loss", patience=8)
)
After Change
callbacks.append( GenerateIntermediate(intermediate_dir, instances.num_identities) )
model_dir = os.path.join(output_dir, "models.d{}.{}".format(deconv_layers, optimizer))
if not os.path.exists(model_dir):
os.makedirs(model_dir)
model_path = os.path.join(model_dir, "FaceGen.model.e{{epoch:03d}}.h5".format(deconv_layers, optimizer))
callbacks.append(
ModelCheckpoint(
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: zo7/deconvfaces
Commit Name: f8d1d80e4d5ad4c4a000bc45b1b61e4c15714546
Time: 2016-08-30
Author: zo7.flynn@gmail.com
File Name: facegen/train.py
Class Name:
Method Name: train_model
Project Name: pantsbuild/pants
Commit Name: b2202480258b6f2f5f4e020e86cde975088c7792
Time: 2015-07-11
Author: codyhgibb@gmail.com
File Name: src/python/pants/backend/jvm/tasks/jar_create.py
Class Name: JarCreate
Method Name: execute
Project Name: tensorflow/datasets
Commit Name: d7d9357b423e918d837101e727ced7159ec42149
Time: 2019-12-17
Author: pierrot@google.com
File Name: tensorflow_datasets/core/shuffle.py
Class Name: _Bucket
Method Name: read_values