v2 init have some code that can not run on mac
Created by: jacquesqiao
https://github.com/PaddlePaddle/Paddle/blob/develop/python/paddle/v2/__init__.py#L88
ht = os.popen("lscpu |grep \"per core\"|awk -F':' '{print $2}'|xargs")
Mac中不支持lscpu这个指令
Created by: jacquesqiao
https://github.com/PaddlePaddle/Paddle/blob/develop/python/paddle/v2/__init__.py#L88
ht = os.popen("lscpu |grep \"per core\"|awk -F':' '{print $2}'|xargs")
Mac中不支持lscpu这个指令