(最新)解决tensorboard1.13.1生成的网址打不开

本文介绍了解决TensorBoard网址在win10环境下无法通过谷歌浏览器打开的问题。通过修改manager.py文件中的特定代码行,使得TensorBoard能在浏览器中正常显示。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

解决tensorboard生成的网址打不开的问题

win10环境下,谷歌浏览器打不开tensorboard1.13.1,cmd一直报错:OSError:[ Errno 22 ] Invalid argument。我开始试过执行命令时加上port=8080,也试了host=127.0.0.1,但是都没有解决,这个问题搜了半天才解决。

错误如下:

解决如下:
更改manager.py这个文件,路径是XXX\Python\Python36\Lib\site-packages\tensorboard\manager.py,即你install包的路径。

修改处代码:serialize=lambda dt: int(dt.strftime("%S")),

在cmd里tensorboard --logdir=路径,注意别退出关闭cmd,然后在谷歌浏览器或者火狐浏览器输入localhost:6006,就能使用tensorboard了。

问题成功解决!

LibMambaUnsatisfiableError: Encountered problems while solving: - package tensorflow-gpu-1.10.0-hf154084_0 requires tensorflow 1.10.0, but none of the providers can be installed Could not solve for environment specs The following packages are incompatible ├─ pin-1 is installable and it requires │ └─ python 3.12.* , which can be installed; └─ tensorflow-gpu is not installable because there are no viable options ├─ tensorflow-gpu 1.1.0 would require │ └─ python 3.5* , which conflicts with any installable versions previously reported; ├─ tensorflow-gpu [1.1.0|1.11.0|1.12.0] would require │ ├─ python 3.6* , which conflicts with any installable versions previously reported; │ └─ tensorflow [1.11.0 |1.12.0 ], which requires │ └─ python 3.6.* , which conflicts with any installable versions previously reported; ├─ tensorflow-gpu [1.10.0|1.9.0] would require │ └─ tensorflow [1.10.0 |1.9.0 ] but there are no viable options │ ├─ tensorflow [1.10.0|1.9.0] would require │ │ └─ python 3.5.* , which conflicts with any installable versions previously reported; │ └─ tensorflow [1.10.0|1.11.0|...|2.1.0], which cannot be installed (as previously explained); ├─ tensorflow-gpu [1.13.1|1.14.0|1.15.0|2.0.0|2.1.0] would require │ └─ tensorflow [1.13.1 |1.14.0 |1.15.0.* |2.0.0 |2.1.0 ] but there are no viable options │ ├─ tensorflow [1.10.0|1.11.0|...|2.1.0], which cannot be installed (as previously explained); │ └─ tensorflow [1.13.1|1.14.0|...|2.6.0] would require │ └─ python 3.7.* , which conflicts with any installable versions previously reported; ├─ tensorflow-gpu 1.8.0 would require │ └─ tensorboard >=1.8.0,<1.9.0 but there are no viable options │ ├─ tensorboard 1.8.0 would require │ │ └─ python >=3.10,<3.11.0a0 , which conflicts with any installable versions previously reported; │ ├─ tensorboard 1.8.0 would require │ │ └─ python >=3.5,<3.6.0a0 , which conflicts with any installable versions previously reported; │ └─ tensorboard 1.8.0 would require │ └─ python >=3.6,<3.7.0a0 , which conflicts with any installable versions previously reported; ├─ tensorflow-gpu 2.3.0 would require │ └─ tensorflow 2.3.0 but there are no viable options │ ├─ tensorflow [1.13.1|1.14.0|...|2.6.0], which cannot be installed (as previously explained); │ └─ tensorflow [2.3.0|2.5.0|2.6.0] would require │ └─ python 3.8.* , which conflicts with any installable versions previously reported; └─ tensorflow-gpu [2.5.0|2.6.0] would require └─ tensorflow [2.5.0 |2.6.0 ] but there are no viable options ├─ tensorflow [1.13.1|1.14.0|...|2.6.0], which cannot be installed (as previously explained); ├─ tensorflow [2.3.0|2.5.0|2.6.0], which cannot be installed (as previously explained); └─ tensorflow [2.5.0|2.6.0] would require └─ python 3.9.* , which conflicts with any installable versions previously reported. Pins seem to be involved in the conflict. Currently pinned specs: - python 3.12.* (labeled as 'pin-1')
最新发布
08-17
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值