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

Method model_dir

GAN/Self_attention_GAN_tensorflow/SAGAN.py:394–396  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

392
393 @property
394 def model_dir(self):
395 return "{}_{}_{}_{}_{}_{}".format(
396 self.model_name, self.dataset_name, self.gan_type, self.img_size, self.z_dim, self.sn)
397
398 def save(self, checkpoint_dir, step):
399 checkpoint_dir = os.path.join(checkpoint_dir, self.model_dir)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected