HRNet / HRNet-Semantic-Segmentation

The OCR approach is rephrased as Segmentation Transformer: https://arxiv.org/abs/1909.11065. This is an official implementation of semantic segmentation for HRNet. https://arxiv.org/abs/1908.07919
Other
3.09k stars 683 forks source link

Do we need to compile inplace_abn before importing it? #207

Closed Zhaoxiangyun closed 3 years ago

Zhaoxiangyun commented 3 years ago

When I run the code, there is an error, ImportError: No module named 'inplace_abn'. I checked that in inplace_abn, there are some CPP files there. Do we need to compile it? In the instructions, they do not mention this. I am wondering, how to successfully import inplace_abn? Thank you.

Zhaoxiangyun commented 3 years ago

I solved this issue by using pytorch 1.1 branch.