distributeTensorflowExample icon indicating copy to clipboard operation
distributeTensorflowExample copied to clipboard

'CUDA_VISIBLE_DEVICES' 不是内部或外部命令

Open guotong1988 opened this issue 8 years ago • 4 comments

在运行 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

guotong1988 avatar Dec 20 '16 09:12 guotong1988

没装好CUDA怎么运行?

guotong1988 avatar Dec 20 '16 09:12 guotong1988

CPU怎么运行?

guotong1988 avatar Dec 20 '16 09:12 guotong1988

没Gpu还真没试过。 不过按照tensorflow的官方的说明, 没gpu的话,就会自动使用cpu来计算的。 可以在worker的节点把CUDA_VISIBLE_DEVICES这个环境变量赋值去掉试一试 我也没试过,不好意思。 @guotong1988

thewintersun avatar Dec 21 '16 09:12 thewintersun

请问CPU下是怎样运行的@guotong1988

Yellowwww avatar Apr 02 '18 01:04 Yellowwww