MCPcopy Create free account
hub / github.com/KeepTryingTo/Pytorch-GAN / generate_and_save_images

Function generate_and_save_images

VAE_AutoEncoder/utils.py:44–52  ·  view source on GitHub ↗

:param save_dir: :param gen: :param epoch: :return:

(save_dir,features,gen,epoch)

Source from the content-addressed store, hash-verified

42 param_group["lr"] = lr
43
44def generate_and_save_images(save_dir,features,gen,epoch):
45 """
46 :param save_dir:
47 :param gen:
48 :param epoch:
49 :return:
50 """
51 predictions = gen(features)
52 pass
53
54def draw(loss):
55 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected