【多卡训练报错】:The server socket has failed to listen on any local network address.
·
错误:
RuntimeError: The server socket has failed to listen on any local network address. The server socket has failed to bind to [::]:16664 (errno: 98 - Address already in use). The server socket has failed to bind to 0.0.0.0:16664 (errno: 98 - Address already in use).
原因:训练的时候,已经有一张卡在执行训练,第二张卡执行训练任务时,使用了同一个端口
解决办法:修改第二张卡的端口号,与第一张卡使用的端口号不重复即可
参考文章:
更多推荐
已为社区贡献3条内容
所有评论(0)