Skip to content

Issue faced while trying to execute #2

Description

@atakrami

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions