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

Missing argument for --pretrained_model in training.py #11

Open
inesvanlaeys opened this issue Oct 7, 2024 · 0 comments
Open

Missing argument for --pretrained_model in training.py #11

inesvanlaeys opened this issue Oct 7, 2024 · 0 comments

Comments

@inesvanlaeys
Copy link

inesvanlaeys commented Oct 7, 2024

Hi,

I've noticed that in the training.py script, there seems to be a missing argument for --pretrained_model in the argument parser. The code currently contains:

parser.add_argument(
    "",
    default='',
    type=str,
    help="Path of pretrained model. If empty, the model will be trained from scratch.",
)

However, the argument name is empty. I believe this should be:

parser.add_argument(
    "--pretrained_model",
    default='',
    type=str,
    help="Path of pretrained model. If empty, the model will be trained from scratch.",
)

Could you please confirm if this is the intended behavior and if the correction is needed?

Thanks for your help!

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