-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CUDA Illegal memory access was encountered #1941
Comments
Hi @Franko9999 , I'm trying to do the same train with 3 classes (background, cls1, cls2) with reduce_zero_label-False and True In both cases the training output is very bad. Only the first class gets trained. {"mode": "val", "epoch": 1300, "iter": 2, "lr": 0.00645, "aAcc": 0.6337, "mIoU": 0.2112, "mAcc": 0.3333, "IoU.background": 0.6337, "IoU.cat": 0.0, "IoU.dog": 0.0, "Acc.background": 1.0, "Acc.cat": 0.0, "Acc.dog": 0.0} Not sure how to resolve this |
Yes, the problem is I have tried lot of models ( at least 50 %) and the same problem persists for use cases where there is 2 or 3 class dataset. Only the first class gets trained or some weird errors appear. It would be nice if someone could like in to it. Is it possible? Best regards, |
Hi, @Franko9999, @sainivedh19pt, |
Is there some way to concentrate only on training the non-background class (or apply some weight to this accuracy not the background one)? Best regards, |
Hello, Finally found the answer regarding model training. In my case in config/base/dataset configuration file I had given the dict(type='LoadAnnotations', reduce_zero_label=True). Reduce_zero_label should be False the same as in mmseg/dataset/ file you create for your dataset. Best regards, |
The weird thing about this error in this repo is that:
|
Hello,
Im trying test several different segmentation approaches on a custom dataset with three classes (background, object1, object2). In lot of cases (for example sem_fpn, vit) I get what(): CUDA error: an illegal memory access was encountered error. I have tried dataset with both reduce_zero_label=False and True with no changes. It would be nice if you could help me in this.
Best regards,
Roberts
The text was updated successfully, but these errors were encountered: