large refactor

This commit is contained in:
2022-09-25 08:31:13 +00:00
parent 84ec5a056e
commit 92891f5b26
33 changed files with 1661 additions and 1635 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ if __name__ == '__main__':
mask_idx = np.array(range(14475))[mesh_mask]
uv_posed_filled = fill(uv_posed, uv_mask)
down = tf.image.resize(uv_posed_filled, size=(32, 16), method=tf.image.ResizeMethod.LANCZOS5)
down = tf.image.resize(uv_posed_filled, size=(32, 16), method=tf.image.ResizeMethod.BILINEAR)
mesh_posed_low = uv2mesh(down[tf.newaxis,:,:,:])
unposed = unpose(mesh_static[mesh_mask,:], mesh_posed[np.newaxis,mesh_mask,:], pose[:,np.newaxis], shape, gender, mesh_mask, mask_idx, smpl_2, id)