ACGPN
ACGPN copied to clipboard
RuntimeError: CUDA error: device-side assert triggered
Traceback (most recent call last):
File "E:\Virtual try on\ACGPN-master\test.py", line 122, in
How can I fix this issue?
It might be related to your work environment, I think you may find solutions online. For instance: https://stackoverflow.com/questions/51691563/cuda-runtime-error-59-device-side-assert-triggered
@minar09 Thank you very much. I found the issue is with the number of labels. I'm using PGN (https://github.com/Engineering-Course/CIHP_PGN.git) to create the labels. How can I fix this issue or is here any other better way to create labels.
Can you please clarify more details on your issue? Do you mean you have a mismatch with the number of labels or something else? CIHP_PGN generated segmentation labels number should be the same here in ACGPN, which means you need to update the code accordingly.
I need to get those 14 segmentation labels from the CHIP_PGN. Can you tell me how to update the code.
Background Hair Upclothes Left-shoe Right-shoe Noise Pants Left_leg Right_leg Left_arm Face Right_arm
@minar09 Thank you very much.
Hi @shashini4296 , if your dataset images contain new segments that are not present in CIHP_PGN, and you need those to be labeled separately, then you need to train the network with your custom dataset and annotations. However, if your desired image labels are somewhat similar to CIHP_PGN format, you can generate the segmentation with the pretrained CIHP_PGN model first, and then assign new label values to the segmentation according to your needs. Hope that helps. Thanks!
@minar09 Thank you very much for the help