distributeTensorflowExample
distributeTensorflowExample copied to clipboard
'CUDA_VISIBLE_DEVICES' 不是内部或外部命令
在运行
CUDA_VISIBLE_DEVICES='' python distribute.py --ps_hosts=192.168.100.42:2222 --worker_hosts=192.168.100.42:2224,192.168.100.253:2225 --job_name=ps --task_index=0
的时候
多谢@thewintersun
没装好CUDA怎么运行?
CPU怎么运行?
没Gpu还真没试过。 不过按照tensorflow的官方的说明, 没gpu的话,就会自动使用cpu来计算的。 可以在worker的节点把CUDA_VISIBLE_DEVICES这个环境变量赋值去掉试一试 我也没试过,不好意思。 @guotong1988
请问CPU下是怎样运行的@guotong1988