Skip to content
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

Unable to start run_recbole_debias.py #18

Open
lfadljevic opened this issue Aug 27, 2024 · 1 comment
Open

Unable to start run_recbole_debias.py #18

lfadljevic opened this issue Aug 27, 2024 · 1 comment

Comments

@lfadljevic
Copy link

Dear maintainers,

I tried to simply run the starting script as described at the beginning of the README.md file (e.g., python run_recbole_debias.py
) and I got the following error immediately:

AttributeError: Metric 'custommetric' has no attribute [metric_need]

I have successfully installed all the requirements within my virtual environment and without any changes in existing code I am not able to run the script. I also tried to add the missing parser argument "metric_need" in the main method of the run_recbole_debias.py script as follows, but it didn't work:

parser.add_argument('--metric_need', '-mn', type=str, default='rec.items', help='config files')

Am I missing some crucial part of the run command or do I need to something else?
I am kindly asking you for your support.

@lfadljevic lfadljevic changed the title Unable to run run_recbole_debias.py Unable to start run_recbole_debias.py Aug 27, 2024
@JingsenZhang
Copy link
Owner

JingsenZhang commented Sep 2, 2024

Thank you for your interest in the project.
And this #12 may could solve the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants