779ced0fabaaad57feedf544f452a69cf1c9baf6,examples/2d-distribution.py,,train,#Any#Any#,24
Before Change
for k, metric in enumerate (gan.metrics.keys() ):
if metric == "gradient_penalty" :
print("--" , gan.session.run(gan.metrics[metric]))
if math.isnan(gan.session.run(gan.metrics[metric])):
return None
tf.reset_default_graph()
gan.session.close()
return sum_metrics
After Change
if i % 300 == 0 :
for k, metric in enumerate (gan.metrics.keys() ):
metric_value = gan.session.run(gan.metrics[metric])
print("--" , metric, metric_value)
if math.isnan(metric_value) or math.isinf(metric_value):
print("Breaking due to invalid metric" )
return None
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: HyperGAN/HyperGAN
Commit Name: 779ced0fabaaad57feedf544f452a69cf1c9baf6
Time: 2017-08-28
Author: mikkel@255bits.com
File Name: examples/2d-distribution.py
Class Name:
Method Name: train
Project Name: deeptools/HiCExplorer
Commit Name: 510958e6a3123b1e41ccb280d0e5c499aa1fbd09
Time: 2017-11-24
Author: wolffj@informatik.uni-freiburg.de
File Name: hicexplorer/utilities.py
Class Name:
Method Name: getPearson
Project Name: AlexEMG/DeepLabCut
Commit Name: ef59c0f5b64e5a3e76790855795a6393c5858963
Time: 2020-05-27
Author: 30733203+jeylau@users.noreply.github.com
File Name: deeplabcut/generate_training_dataset/multiple_individuals_labeling_toolbox.py
Class Name: MainFrame
Method Name: browseDir