SFD icon indicating copy to clipboard operation
SFD copied to clipboard

Training issue, RuntimeError: The server socket has failed to listen on any local network addres

Open atta007 opened this issue 3 years ago • 4 comments

RuntimeError: The server socket has failed to listen on any local network address. The server socket has failed to bind to [::]:29500 (errno: 98 - Address already in use). The server socket has failed to bind to ?UNKNOWN? (errno: 98 - Address already in use). Screenshot from 2022-11-25 18-44-05

scripts/dist_train.sh 8 --cfg_file cfgs/kitti_models/sfd.yaml --gpu_id 0

atta007 avatar Nov 25 '22 13:11 atta007

Hi, you need to change the tcp_port to another number to avoid address conflict, such as:

scripts/dist_train.sh 8 --cfg_file cfgs/kitti_models/sfd.yaml --gpu_id 0 --tcp_port 24523

LittlePey avatar Nov 29 '22 04:11 LittlePey

Still error is same.

atta007 avatar Nov 29 '22 08:11 atta007

I am sorry that I have no idea. Maybe you can try more tcp_port numbers.

LittlePey avatar Nov 29 '22 11:11 LittlePey

I did but not work for me

atta007 avatar Nov 29 '22 12:11 atta007