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.13k stars 686 forks source link

Interrupt training during training, and encounter problems when continuing training #245

Open sd-spf opened 2 years ago

sd-spf commented 2 years ago

When I interrupted training and continued training, the following questions: Traceback (most recent call last): File "/home/amax/share/SPF/HRNet-Semantic-Segmentation-HRNet-OCR/tools/train.py", line 323, in main() File "/home/amax/share/SPF/HRNet-Semantic-Segmentation-HRNet-OCR/tools/train.py", line 100, in main '.get_seg_model')(config) File "", line 1, in AttributeError: module 'models' has no attribute 'seg_hrnet_ocr' No file or code has been changed, and sudden error occurs. How to avoid it