mx-maskrcnn icon indicating copy to clipboard operation
mx-maskrcnn copied to clipboard

mask-rcnn how to allocate memory, If my own dataset has some big size images like 7127*7127, it has cudo memory error.

Open hdjsjyl opened this issue 7 years ago • 2 comments

mask-rcnn how to allocate memory, If my own dataset has some big size images like 7127*7127, it has cudo memory error. Mask-rcnn allocate memory for computing images in terms of max_shape and infer_shape? How to use them to allocate memory?

hdjsjyl avatar Jan 20 '18 00:01 hdjsjyl

It seems that your input image is too large. Try using a small image to test.

huangzehao avatar Jan 20 '18 03:01 huangzehao

@huangzehao , I want to use my own dataset to train the mask rcnn. Actually, the size of images in the dataset varies from 500*1000 to 7000 * 7000. Do you think it is a good idea to resize all the images to the same size? I do not know how to cope with the problem. Because some sizes of images are very big. In the code, it has inferred the shape and maximum shape of images. Do you have some advice? thanks

hdjsjyl avatar Jan 20 '18 04:01 hdjsjyl