Skip to content
Search

DDRNet

lastmod 2025-03-14created 2025-03-115 edits

Deep Dual-resolution Networks for Real-time and Accurate Semantic Segmentation of Road Scenes

Testing to fix staircase artifacts in ddrm

If you want to remove the staircase artifacts in RTMDet and improve speed, give it a try.

Troubleshooting

The size of tensor a (228) must match the size of tensor b (227) at non-singleton dimension 3

Running inference with the mmseg DDRNet model produced the following error:

RuntimeError: The size of tensor a (228) must match the size of tensor b (227) at non-singleton dimension 3

The model config is "ddrnet_23-slim_in1k-pre_2xb6-120k_cityscapes-1024x1024.py" and the input image is 1920x1080.

In short, resize the input image to 1024x1024.

See also

Favorite site

author Zer0 sitemap