create end2end laplacian pyramid
This commit is contained in:
@@ -45,7 +45,7 @@ class UV2Mesh(tf.keras.Model):
|
||||
if uv.shape[1] == 3:
|
||||
uv = tf.transpose(uv, [0,2,3,1])
|
||||
if uv.shape[1] != 512:
|
||||
uv = tf.image.resize(uv, (512, 256), tf.image.ResizeMethod.LANCZOS5)
|
||||
uv = tf.image.resize(uv, (512, 256), tf.image.ResizeMethod.BILINEAR)
|
||||
|
||||
batch_size = uv.shape[0]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user