beta-team / beta-recsys

Beta-RecSys: Build, Evaluate and Tune Automated Recommender Systems
https://beta-recsys.readthedocs.io/en/latest/
MIT License
163 stars 33 forks source link

cpuinfo keyword incompatible with the linux system #339

Closed mengzaiqiao closed 3 years ago

mengzaiqiao commented 4 years ago

Describe the bug

I ran the MF_API_test under the Linux system, where an error appears on the "cpuinfo" package, which is a new update.

2020-11-19 23:37:23 [ERROR]-(pid=32277) 2020-11-19 23:37:23 [ERROR]-    os.cpu_count(), cpuinfo.get_cpu_info()["brand_raw"]
2020-11-19 23:37:23 [ERROR]-(pid=32277) 2020-11-19 23:37:23 [ERROR]-KeyError: 'brand_raw'

To Reproduce

Run https://github.com/beta-team/beta-recsys/blob/master/examples/MF_API_test.ipynb under Linux system

It is better to make it compatible with both systems.