-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Conversation
I'm getting the following error while training:
It's in the following file maskrcnn-benchmark/maskrcnn_benchmark/structures/segmentation_mask.py Lines 113 to 116 in 0ce8f6f
|
Oh wow. that's pretty sad, because PyTorch 1.2<= uses bools class but has no implemented cpu method for it, maybe it works just on GPU. Sorry |
Solved it by increasing swap space! I'm using 8GB RAM with two GPUs (RTX 2080 8GB, GTX 1060 Ti 6GB), although the GPUs work fine, the RAM gets filled easily leading to memory error after few iterations (around 1000) on dataset of I'm using Error:
|
I think reducing the reminder: the two masks are a bit different, so expect some differences in the outcomes as well, but your training will be super-fast afterwards, since it is easier to manipulate polygons than binary tensors of the full image. let me know if this helps |
Yay! good news then :) |
CityScapes Dataset
We have a long list of CityScapes issues here.
Probably many alternative solutions exist to solve the same problem and it could be useful to have a canonical approach for saving some time.
As mentioned earlier #466, there were quite a few unnecessary steps involved when training on this dataset that could be eliminated by using a native module that fetches cityscapes data to the memory in a form which
maskrcnn-benchmark
handles inputs and target labels.Scores:
Using the abstract-COCO extension from PR #1096 for evaluating on
cityscapes_poly_instance_val
dataset. It matches the reported results in the Mask-RCNN paperUsing the CityScapes evaluation tool from PR #1104 the scores are the following: