"vscode:/vscode.git/clone" did not exist on "1189c66c1bcf37eb8b888034ec8f1a9551393ea3"
Improve error message when certain flags are not specified.
In nlp/train.py and vision/beta/train.py, certain flags are marked as required. Additionally, in certain functions, error messages are improved if a necessary flag is not specified, which is a fallback in case a file calling define_flags() does not mark the necessary flags are required. Previously if any of these flags were not specified, it would crash with a cryptic error message, making it hard to tell what went wrong. In a subsequent change, I will mark flags as required in more files which call define_flags(). PiperOrigin-RevId: 381066985
Showing
Please register or sign in to comment