I encountered a view error when trying the BlendMask demo with 5x model. Replacing view, with reshape appears to have fixed the issue.
RuntimeError: view size is not compatible with input tensor's size and stride (at least one dimension spans across two contiguous subspaces). Use .reshape(...) instead.
Also, can you tell me how I can save the panoptic segmentation results? I would like to use the segmentation maps for other processing.
I encountered a view error when trying the BlendMask demo with 5x model. Replacing view, with reshape appears to have fixed the issue.
RuntimeError: view size is not compatible with input tensor's size and stride (at least one dimension spans across two contiguous subspaces). Use .reshape(...) instead.
Also, can you tell me how I can save the panoptic segmentation results? I would like to use the segmentation maps for other processing.