Skip to content

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

@hongyu19930808

Description

@hongyu19930808
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 == ""
?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions