xiaoyufenfei / Efficient-Segmentation-Networks

Lightweight models for real-time semantic segmentationon PyTorch (include SQNet, LinkNet, SegNet, UNet, ENet, ERFNet, EDANet, ESPNet, ESPNetv2, LEDNet, ESNet, FSSNet, CGNet, DABNet, Fast-SCNN, ContextNet, FPENet, etc.)
MIT License
914 stars 164 forks source link

Error in training -------ZMQError: Address already in use #14

Open gothic22 opened 4 years ago

gothic22 commented 4 years ago

hi, every time i train a model, after some epochs, this error occurs:

Traceback (most recent call last): File "/home/thu‑microe/anaconda3/envs/tensorflow/lib/python3.6/runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "/home/thu‑microe/anaconda3/envs/tensorflow/lib/python3.6/runpy.py", line 85, in _run_code exec(code, run_globals) File "/home/thu‑microe/anaconda3/envs/tensorflow/lib/python3.6/site‑packages/spyder_kernels/console/main.py", line 11, in start.main() File "/home/thu‑microe/anaconda3/envs/tensorflow/lib/python3.6/site‑packages/spyder_kernels/console/start.py", line 306, in main kernel.initialize() File "", line 2, in initialize File "/home/thu‑microe/anaconda3/envs/tensorflow/lib/python3.6/site‑packages/traitlets/config/application.py", line 87, in catch_config_error return method(app, *args, **kwargs) File "/home/thu‑microe/anaconda3/envs/tensorflow/lib/python3.6/site‑packages/ipykernel/kernelapp.py", line 567, in initialize self.init_sockets() File "/home/thu‑microe/anaconda3/envs/tensorflow/lib/python3.6/site‑packages/ipykernel/kernelapp.py", line 271, in init_sockets self.shell_port = self._bind_socket(self.shell_socket, self.shell_port) File "/home/thu‑microe/anaconda3/envs/tensorflow/lib/python3.6/site‑packages/ipykernel/kernelapp.py", line 218, in _bind_socket return self._try_bind_socket(s, port) File "/home/thu‑microe/anaconda3/envs/tensorflow/lib/python3.6/site‑packages/ipykernel/kernelapp.py", line 194, in _try_bind_socket s.bind("tcp://%s:%i" % (self.ip, port)) File "zmq/backend/cython/socket.pyx", line 547, in zmq.backend.cython.socket.Socket.bind File "zmq/backend/cython/checkrc.pxd", line 25, in zmq.backend.cython.checkrc._check_rc zmq.error.ZMQError: Address already in use.

can you help, thanks