text_classification model, 不支持paddle 0.10 ?报错
Created by: VamWolf
- 安装了paddle 0.10
- git 下载了models
- 运行text classification. 开始下载数据
- 报错 Traceback (most recent call last): File "train.py", line 176, in main(args) File "train.py", line 167, in main model_save_dir=args.model_save_dir) File "train.py", line 101, in train paddle.init(use_gpu=False, trainer_count=1) File "/home/work/.jumbo/lib/python2.7/site-packages/paddle/v2/init.py", line 133, in init set_omp_mkl_env_vars(kwargs.get('trainer_count', 1)) File "/home/work/.jumbo/lib/python2.7/site-packages/paddle/v2/init.py", line 105, in set_omp_mkl_env_vars num_cores = num_physical_cores() File "/home/work/.jumbo/lib/python2.7/site-packages/paddle/v2/init.py", line 86, in num_physical_cores os.popen("lscpu |grep "Socket" |awk -F':' '{print $2}'|xargs") ValueError: invalid literal for int() with base 10: ''
- 什么都没改...直接git下来的代码就报的这个错