Ask questionsdouble free or corruption (!prev)
I get this error "double free or corruption (!prev)" when trying to start the training.
Do you know what is the issue? Might be related to memory usage, if so how can I change the batch size?
Answer questions TommasoBendinelli
I just checked the code. The issue comes from line 157 in augmentations.py. Also, I said that I commented out the line in my previous comment, but that is wrong. Sorry about that. The issue apparently comes from masks with third channel equal to 5 as mentioned in the other opencv issue...
I do not remember how I fix it, but what i can tell that now I am using width and height equal to max_size = 550 and with this setting it works