RecBole
RecBole copied to clipboard
[🐛BUG] recbole1.2.0与recbole-cdr兼容问题
我在recbole-cdr中pip安装了recbole1.2.0,但是会出现很多bug。首先quick-start一开始就会出现缺少参数的问题,于是更改代码,增加phase参数。增加了以后又出现了非integer的问题,于是改代码,重写recbole中的set_eval_neg...的代码。随即又会出现logger invalid的问题,在recbole源代码改完以后logger正常了。现在又出现了'CrossDomainSingleDataset' object has no attribute 'field2bucketnum'的问题。是不是recbole-cdr和recbole1.2.0还不兼容呢?我的操作就是:从github下载zip,用pycharm打开,按照readme中说的直接运行了。
补充:直接pip install recbole==1.0.1会出现numpy.distutils.system_info.NotFoundError: No BLAS/LAPACK libraries found. To build Scipy from sources, BLAS & LAPACK libraries need to be installed. See site.cfg.example in the Scipy source directory and https://docs.scipy.org/doc/scipy/reference/building/index.html for details. [end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed
× Encountered error while generating package metadata. ╰─> See above for output.
note: This is an issue with the package mentioned above, not pip. hint: See above for details. 这个bug
首先recbole需要为1.0.1,1.2.0并不完全兼容,会出现一些小bug。其次,安装recbole1.0.1需要python<3.10。因为scipy需要==1.6.0,这个版本无法支持python3.10