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

scripts/onsets_train.py, args.difficulties parameter #6

Open
hongyu19930808 opened this issue May 6, 2023 · 0 comments
Open

scripts/onsets_train.py, args.difficulties parameter #6

hongyu19930808 opened this issue May 6, 2023 · 0 comments

Comments

@hongyu19930808
Copy link

hongyu19930808 commented May 6, 2023

if args.difficulties != "":
    difficulties = tuple(d.value for d in diff_type)
else:
    from ast import literal_eval
    difficulties = literal_eval(args.difficulties)

The if condition should be
if args.difficulties == ""
?

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

1 participant