Closed shrinivasait closed 1 year ago
This is probably because you load the densepose as VUI rather than IUV (so a RGB or BGR image loading/saving problem.)
Thank you for taking the time to answer my query. I have resolved the issue.
@shrinivasait @cuiaiyu @BadourAlBahar @fyviezhao Could you please guide me how to fix the below issue. I encountered while trying Repose - Upper Body
/content/PWS
Traceback (most recent call last):
File "/content/PWS/inference.py", line 144, in
Hi,
I was testing the garment transfer.py code, But it's showing the following error. while I followed every step. Please Guide through.
Error::
Traceback (most recent call last): File "/content/drive/MyDrive/pose-with-style/garment_transfer.py", line 196, in
generate(args, g_ema, device, mean_latent)
File "/content/drive/MyDrive/pose-with-style/garment_transfer.py", line 58, in generate
input_uv_coor, input_uv_mask, input_uv_symm_mask = getSymXYcoordinates(input_pose, resolution = 512)
File "/content/drive/MyDrive/pose-with-style/util/dp2coor.py", line 9, in getSymXYcoordinates
xy, xyMask = getXYcoor(iuv, resolution = resolution)
File "/content/drive/MyDrive/pose-with-style/util/dp2coor.py", line 35, in getXYcoor
x, y, u, v = mapper(iuv, resolution)
File "/content/drive/MyDrive/pose-with-style/util/dp2coor.py", line 73, in mapper
uv_smpl = dp_uv_lookup_256_np[
IndexError: index 24 is out of bounds for axis 0 with size 24