bubbliiiing / mobilenet-yolov4-pytorch

这是一个mobilenet-yolov4的库,把yolov4主干网络修改成了mobilenet,修改了Panet的卷积组成,使参数量大幅度缩小。
MIT License
368 stars 103 forks source link

ConnectionRefusedError: [Errno 111] Connection refused #62

Open libofei2004 opened 2 months ago

libofei2004 commented 2 months ago

请问训练没多久就终止程序了是什么原因?

Configurations:

| keys | values|

| classes_path | model_data/voc_classes.txt| | anchors_path | model_data/yolo_anchors.txt| | anchors_mask | [[6, 7, 8], [3, 4, 5], [0, 1, 2]]| | model_path | model_data/yolov4_mobilenet_v1_voc.pth| | input_shape | [416, 416]| | Init_Epoch | 0| | Freeze_Epoch | 50| | UnFreeze_Epoch | 391| | Freeze_batch_size | 16| | Unfreeze_batch_size | 8| | Freeze_Train | True| | Init_lr | 0.01| | Min_lr | 0.0001| | optimizer_type | sgd| | momentum | 0.937| | lr_decay_type | cos| | save_period | 10| | save_dir | logs| | num_workers | 4| | num_train | 1031| | num_val | 1031|

Start Train Epoch 1/391: 100%|██████████| 64/64 [00:29<00:00, 2.17it/s, loss=4.17, lr=0.00025] Finish Train Start Validation Epoch 1/391: 0%| | 0/64 [00:00<?, ?it/s<class 'dict'>]Could not connect to 127.0.0.1: 44519 Traceback (most recent call last): File "/home/libofei/.pycharm_helpers/pydev/_pydevd_bundle/pydevd_comm.py", line 465, in start_client s.connect((host, port)) ConnectionRefusedError: [Errno 111] Connection refused Traceback (most recent call last): File "/home/libofei/.pycharm_helpers/pydev/pydevd.py", line 1757, in settrace _locked_settrace( File "/home/libofei/.pycharm_helpers/pydev/pydevd.py", line 1813, in _locked_settrace debugger.connect(host, port) # Note: connect can raise error. File "/home/libofei/.pycharm_helpers/pydev/pydevd.py", line 687, in connect s = start_client(host, port) File "/home/libofei/.pycharm_helpers/pydev/_pydevd_bundle/pydevd_comm.py", line 465, in start_client s.connect((host, port)) ConnectionRefusedError: [Errno 111] Connection refused