pytorch-deeplab-xception
                                
                                 pytorch-deeplab-xception copied to clipboard
                                
                                    pytorch-deeplab-xception copied to clipboard
                            
                            
                            
                        RuntimeError: CUDA error: device-side assert triggered
hi, recently i use my own dataset and run Deeplab V3+, but i got the error.
i think this is about the classes but i sure that my classes is 6+1(background), and i have changed the number in utils.py and 
BTW. i used to run successfully with 2 classes, but when i used other dataset and change to 7, it run out the error.
and 
--------------my error message-----------
C:\w\b\windows\pytorch\aten\src\ATen\native\cuda\NLLLoss2d.cu:95: block: [0,0,0], thread: [708,0,0] Assertion t >= 0 && t < n_classes failed.
C:\w\b\windows\pytorch\aten\src\ATen\native\cuda\NLLLoss2d.cu:95: block: [0,0,0], thread: [709,0,0] Assertion t >= 0 && t < n_classes failed.
C:\w\b\windows\pytorch\aten\src\ATen\native\cuda\NLLLoss2d.cu:95: block: [0,0,0], thread: [710,0,0] Assertion t >= 0 && t < n_classes failed.
...
Traceback (most recent call last):
File "train.py", line 388, in 
I have met the same questions as you.Would you deal with it yet? One month ago,I can run it with no problem. But this time,when I git it again, it reported this ERROR, that's so strange.
yes i can run the code now, however i haven't try multi classes yet. now my data only contains 1 kind target and background. i processed my label data as indices, which means only 0 and 1 (cause only 2 classes now), the two value in the label image.
I have met the same questions as you.Would you deal with it yet? One month ago,I can run it with no problem. But this time,when I git it again, it reported this ERROR, that's so strange.
hey, did you fix the problem?
I have met the same questions as you.Would you deal with it yet? One month ago,I can run it with no problem. But this time,when I git it again, it reported this ERROR, that's so strange.
hello,did you fix the problem?