large refactor
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user