RUCAIBox / RecBole

A unified, comprehensive and efficient recommendation library
https://recbole.io/
MIT License
3.48k stars 616 forks source link

[🐛BUG] log file not found when running on private dataset #1797

Open dabasmoti opened 1 year ago

dabasmoti commented 1 year ago

log file not found when running on private dataset FileNotFoundError: [Errno 2] No such file or directory: '/Users/user/recsys_research/log/BPR/BPR-data/recbole-Jun-22-2023_13-03-34-c88916.log' i can run it ml-100k To Reproduce

Yaml file:

# dataset config : Context-aware Recommendation
load_col:
    inter: ['sso_id', 'article_id', 'label', 'timestamp']
    user: ['sso_id']
    item: ['article_id', 'section_primary']

LABEL_FIELD: label
eval_args:
    group_by: None
    mode: labeled
metrics: ['AUC', 'LogLoss']
valid_metric: AUC

runing with simple as run_recbole(model='BPR', dataset='data/recbole', config_file_list=['experiments/test.yaml'])

I have 3 files image

zhengbw0324 commented 1 year ago

@dabasmoti Hello, there is an issue with the organization of your dataset. You can refer to our documentation or sample data for specific organization methods. The dataset name cannot be a path, but a corresponding folder name, and the file prefix within the folder should be the same as the dataset name.

dabasmoti commented 1 year ago

@zhengbw0324 Thanks for the quick response The problem is different. Recbole Generate a path to log file that not exists. It’s happening when i am using private dataset

nicksukie commented 1 year ago

Same problem here. @dabasmoti have you found a solution?

dabasmoti commented 1 year ago

@nicksukie Unfortunately, I have stoped using the package.