We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b60d952 commit eeb717fCopy full SHA for eeb717f
tensorflowonspark/TFSparkNode.py
@@ -211,7 +211,7 @@ def _mapfn(iter):
211
if tensorboard and job_name == tb_job_name and task_index == 0:
212
if 'TENSORBOARD_PORT' in os.environ:
213
# use port defined in env var
214
- tb_port = os.environ['TENSORBOARD_PORT']
+ tb_port = int(os.environ['TENSORBOARD_PORT'])
215
else:
216
# otherwise, find a free port
217
tb_sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
0 commit comments