Westlake-AI / MogaNet

[ICLR 2024] MogaNet: Efficient Multi-order Gated Aggregation Network
https://arxiv.org/abs/2211.03295
Apache License 2.0
162 stars 13 forks source link

Unable to train model #11

Closed helloiammoon closed 8 months ago

helloiammoon commented 10 months ago

Thanks for your significant paper. However, I encountered a problem when I ran the instruction code for training:

File "/usr/local/lib/python3.10/dist-packages/mmcv/utils/registry.py", line 72, in build_from_cfg raise type(e)(f'{obj_cls.name}: {e}') urllib.error.URLError: <urlopen error MaskRCNN: <urlopen error MogaNet_feat: <urlopen error [Errno 104] Connection reset by peer>>>

I appreciate your help!

Lupin1998 commented 8 months ago

Hi, @helloiammoon. Sorry for the late reply, have you solved this issue yet? If this problem still occurs, please try to run object detection experiments under the dictionary of ./detection with dist_train.sh, e.g., PORT=23456 bash dist_train.sh configs/moganet/mask_rcnn_moganet_xtiny_fpn_1x_coco.py 8. It error indicates the error of importing MogaNet_feat from models/moganet.py.

Lupin1998 commented 8 months ago

Hi there, I will close this issue if there are no more questions. Feel free to contact us if you have new concerns.