Skip to content

Commit

Permalink
Update training script
Browse files Browse the repository at this point in the history
  • Loading branch information
sguequierre committed Jan 29, 2025
1 parent 8665aae commit cd40828
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions docs/data-ai/ai/train.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,6 @@ setup(
packages=find_packages(),
include_package_data=True,
install_requires=[
"google-cloud-aiplatform",
"google-cloud-storage",
# TODO: Add additional required packages
],
)
Expand Down Expand Up @@ -124,6 +122,13 @@ def parse_args():
parser.add_argument("--dataset_file", dest="data_json", type=str)
parser.add_argument("--model_output_directory", dest="model_dir", type=str)
parser.add_argument("--num_epochs", dest="num_epochs", type=int)
parser.add_argument(
"--labels",
dest="labels",
type=str,
required=False,
help="Space-separated list of labels, enclosed in single quotes (e.g., 'label1 label2').",
)
args = parser.parse_args()
return args.data_json, args.model_dir, args.num_epochs

Expand Down

0 comments on commit cd40828

Please sign in to comment.