MCPcopy Create free account
hub / github.com/OUCMachineLearning/OUCML / check_folder

Function check_folder

GAN/Self_attention_GAN_tensorflow/utils.py:118–121  ·  view source on GitHub ↗
(log_dir)

Source from the content-addressed store, hash-verified

116
117
118def check_folder(log_dir):
119 if not os.path.exists(log_dir):
120 os.makedirs(log_dir)
121 return log_dir
122
123def show_all_variables():
124 model_vars = tf.trainable_variables()

Callers 3

__init__Method · 0.85
testMethod · 0.85
check_argsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected