From 044232a0947fcf02118a268e45a615cc1a8065a2 Mon Sep 17 00:00:00 2001 From: Vee9ahd1 Date: Sun, 22 Sep 2019 19:43:03 -0400 Subject: patched for artbreeder support and fixed some weird CUDNN_STATUS_INTERNAL_ERROR. if CPU support is broken now, this commit is probably why. --- gantools/latent_space.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gantools/latent_space.py') diff --git a/gantools/latent_space.py b/gantools/latent_space.py index 64e3dec..a39e804 100644 --- a/gantools/latent_space.py +++ b/gantools/latent_space.py @@ -44,7 +44,7 @@ def sequence_keyframes(keyframes, num_frames, batch_size=1, interp_method='linea keyframes.append(keyframes[0])# seq returns to start truncation_keys = np.asarray([keyframe['truncation'] for keyframe in keyframes]) - z_keys = np.asarray([np.asarray(keyframe['vector']) * keyframe['truncation'] for keyframe in keyframes]) + z_keys = np.asarray([np.asarray(keyframe['latent']) * keyframe['truncation'] for keyframe in keyframes]) label_keys = np.asarray([keyframe['label'] for keyframe in keyframes]) z_seq = interp_fn(z_keys, num_frames) -- cgit v1.2.1