2024-09-28 20:59:58 发布
网友
当我在cmd中使用tensorboard和win10时
D:\ python document\tensorflow>;tensorboard--logdir=D:\ python document\tensorflow 在http://0.0.0.0:6006开始张力板b'47'
但当我打开网页时,它显示
“拨号tcp 0.0.0.0:6006:connectex:请求的地址在其上下文中无效。”
我试过localhost:6006,结果显示
“未找到标量数据。”
那我现在该怎么办
请参阅tensorflow issue#9701。
在命令提示符下运行tensorboard --logdir=YOUR_LOG_DIR --host=127.0.0.1, 在chrome中输入localhost:6006,这对我很有用(Win10,anaconda4.3.16,python3.5.3,tensorflow1.1.0)。
tensorboard --logdir=YOUR_LOG_DIR --host=127.0.0.1
localhost:6006
@Johnson Lai的解决方案(tensorboard --logdir=YOUR_LOG_DIR --host=127.0.0.1)是有效的,只需在命令尾部添加--host=127.0.0.1。
--host=127.0.0.1
但是你应该用你自己的log dir代替log_dir。
log dir
log_dir
提示:在log dir中,日志文件(文件夹)喜欢run-20180422085300。
run-20180422085300
这是我的测试!
在任意位置启动你的命令:
运行commondtensorboard --logdir [your log dir] --host=127.0.0.1
tensorboard --logdir [your log dir] --host=127.0.0.1
或者
使用log dir或commond启动命令cd [your log dir]
cd [your log dir]
运行commondtensorboard --logdir ./ --host=127.0.0.1
tensorboard --logdir ./ --host=127.0.0.1
我更喜欢第二种方法!
请参阅tensorflow issue#9701。
在命令提示符下运行
tensorboard --logdir=YOUR_LOG_DIR --host=127.0.0.1
, 在chrome中输入localhost:6006
,这对我很有用(Win10,anaconda4.3.16,python3.5.3,tensorflow1.1.0)。@Johnson Lai的解决方案(
tensorboard --logdir=YOUR_LOG_DIR --host=127.0.0.1
)是有效的,只需在命令尾部添加--host=127.0.0.1
。但是你应该用你自己的
log dir
代替log_dir
。提示:在
log dir
中,日志文件(文件夹)喜欢run-20180422085300
。这是我的测试!
在任意位置启动你的命令:
运行commond
tensorboard --logdir [your log dir] --host=127.0.0.1
或者
使用log dir或commond启动命令
cd [your log dir]
运行commond
tensorboard --logdir ./ --host=127.0.0.1
我更喜欢第二种方法!
相关问题 更多 >
编程相关推荐