ACGPN
ACGPN copied to clipboard
Label error
hello again, thank you very much for the previous answer.
I am trying to run the test.py file with custom images and I am getting the following error:
File "test.py", line 126, in
Thank you for helping me
Hi @josearangos , This is probably because you segmentation label has undefined values. See here: https://github.com/pytorch/pytorch/issues/1204#issuecomment-292746566 Please check your files and debug to see where its getting such values.
Or sometimes this error happens for labels mismatch.
@minar09 Thanks for the recommendation, thanks to you I can run the inference.
These are the results:
Why would you put those colors on the nose?
what do you think of this result?
Hi @josearangos , I am not sure why the nose has that kind of artifacts, there can be many factors. For getting better idea about your results, I think you should test with more diverse images and clothes. Also, preparing the custom images similar to the viton dataset images may provide better results. Thanks.
@josearangos I am also getting same error which you got. Please see error below
(label.cpu().numpy() == 11).astype(np.float)).cuda() RuntimeError: cuda runtime error (59) : device-side assert triggered at /pytorch/aten/src/THC/generic/THCTensorCopy.cpp:70
Please help me how to solve this? I hope you already solved it.
I generated the segmentation map from "Self Correction Human Parsing for ACGPN" repository (https://github.com/armheb/Self-Correction-Human-Parsing-for-ACGPN) and then converted the coloured output to gray scale. However I am getting the above error when I run test.py
Thanks for helping