run-35
This commit is contained in:
@@ -97,6 +97,7 @@ class GarmentEmbedding(tf.keras.layers.Layer):
|
||||
|
||||
def call(self, inputs, training=None, mask=None):
|
||||
x = inputs
|
||||
x = tf.image.per_image_standardization(x)
|
||||
|
||||
x = tf.transpose(x, [0,2,3,1])
|
||||
x = self.encoder(x, training=training)
|
||||
|
||||
@@ -31,8 +31,8 @@ class Mapping(tf.keras.layers.Layer):
|
||||
x = latents
|
||||
|
||||
# embed label if any
|
||||
pose_shape_latent = self.pose_shape_embedding([conditions[0], conditions[1]])
|
||||
garment_latent = self.garment_embedding(conditions[2])
|
||||
pose_shape_latent = self.pose_shape_embedding([conditions['pose_shape'][:, :72], conditions['pose_shape'][:, 72:]])
|
||||
garment_latent = self.garment_embedding(conditions['uv_static'])
|
||||
x = tf.concat([x, pose_shape_latent, garment_latent], axis=1)
|
||||
# x = tf.concat([x, garment_latent], axis=1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user