Skip to content

Add the missing ArgumentParser types on Reference Scripts #4694

Closed
@datumbox

Description

@datumbox

🚀 The feature

Quite a few arguments on the Reference Scripts are missing the type parameter. Most of them seem to be strings.

Examples:

parser.add_argument("--output-dir", default=".", help="path where to save")
parser.add_argument("--resume", default="", help="resume from checkpoint")

parser.add_argument("--lr-scheduler", default="multisteplr", help="the lr scheduler (default: multisteplr)")

parser.add_argument("--dist-url", default="env://", help="url used to set up distributed training")

It would be good to add them and improve the arguments by providing better descriptions on the help argument.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions