-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue faced while trying to execute #2
Comments
Sorry, I forgot to mention in the readme that the ml-1m data set requires manually replacing the delimiters in the file [ratings.dat] with spaces. |
[2023-12-26 16:46:26,513]-[INFO - lib.callback] [2023-12-26 16:46:43,440]-[INFO - lib.callback] [2023-12-26 16:46:43,441]-[INFO - lib.callback]
|
[2023-12-27 CoCheLab] commit-1 Fixed data processing issues mentioned in issue [# 2][#2]
Thanks for the update. There are some errors after doing the above-said correction. [2023-12-27 09:58:46,656]-[INFO - lib.callback] [2023-12-27 09:59:03,088]-[INFO - lib.callback] [2023-12-27 09:59:03,096]-[INFO - lib.callback]
|
This is a bit strange. Please check whether the file in path [./data/datasets/meta/lite] is [Digital_Music_lite.json], because the picture you sent before shows ***.data |
Hi,
I have created a Python environment and tried to execute it. I am getting the following error:
[2023-12-25 06:53:52,044]-[INFO - lib.callback]
Processing ./data/datasets/meta/ml-1m/ratings.dat ...
Traceback (most recent call last):
File "C:\Users\saeed\Downloads\CoCheLab-main\CoCheLab-main\executor.py", line 30, in
run_pcr(cfg = dp_cfg);
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\saeed\Downloads\CoCheLab-main\CoCheLab-main\data\generator.py", line 89, in run_pcr
dataset = ml_generate(dp_cfg['src'])
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\saeed\Downloads\CoCheLab-main\CoCheLab-main\data\generator.py", line 47, in ml_generate
mldataset = pcr.ml_pcr(src = src);
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\saeed\Downloads\CoCheLab-main\CoCheLab-main\data\processor.py", line 170, in
ml_pcr
ml = np.loadtxt(src, dtype = int, usecols = (0, 1, 3));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\saeed\Downloads\CoCheLab-main\CoCheLab-main\myvenv\Lib\site-packages\numpy\lib\npyio.py", line 1373, in loadtxt
arr = _read(fname, dtype=dtype, comment=comment, delimiter=delimiter,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\saeed\Downloads\CoCheLab-main\CoCheLab-main\myvenv\Lib\site-packages\numpy\lib\npyio.py", line 1016, in _read
arr = _load_from_filelike(
^^^^^^^^^^^^^^^^^^^^
ValueError: could not convert string '1::1193::5::978300760' to int32 at row 0, column 1.
The text was updated successfully, but these errors were encountered: