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

DATA-3094: Add CLI args to SubmitCustomTrainingJobRequest #550

Merged
merged 3 commits into from
Sep 16, 2024

Conversation

vpandiarajan20
Copy link
Member

@vpandiarajan20 vpandiarajan20 commented Sep 6, 2024

Adds argument field to SubmitCustomTrainingJobRequest, map of string to string.

@github-actions github-actions bot added the safe to test committer is a member of this org label Sep 6, 2024
@vpandiarajan20 vpandiarajan20 added ready-for-protos add this when you want protos to compile on every commit safe to test committer is a member of this org and removed safe to test committer is a member of this org labels Sep 6, 2024
@vpandiarajan20 vpandiarajan20 marked this pull request as ready for review September 9, 2024 20:31
@@ -69,6 +69,7 @@ message SubmitCustomTrainingJobRequest {
string organization_id = 3 [(tagger.v1.tags) = "bson:\"organization_id\" json:\"organization_id\""];
string model_name = 4 [(tagger.v1.tags) = "bson:\"model_name\" json:\"model_name\""];
string model_version = 5 [(tagger.v1.tags) = "bson:\"model_version\" json:\"model_version\""];
map<string, string> arguments = 6;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we needs tags for this cc @sbal13 ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry not sure what you mean. As in tags like we have for SubmitTrainingJobRequest?

  repeated string tags = 6 [(tagger.v1.tags) = "bson:\"tags\" json:\"tags\""];

If so, then no, we don't have UI for selecting what tags to train on - custom scripts don't take tags IIRC, only the built-in script does. Do you think it would be useful to add?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I meant the bson and json tags, though I'm not exactly sure what they're used for in this scenario.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I'm not sure either! It looks like they're used to tell protobuf what attribute name to map to when marshalling (I have no idea if I'm using that word correctly, converting??) to BSON and JSON respectively, but in all cases the attribute name is the same in this file so not sure what it's doing.

@vpandiarajan20 vpandiarajan20 added safe to test committer is a member of this org and removed safe to test committer is a member of this org labels Sep 13, 2024
@vpandiarajan20 vpandiarajan20 merged commit f58873f into main Sep 16, 2024
6 checks passed
maxhorowitz added a commit that referenced this pull request Sep 16, 2024
* main: (22 commits)
  DATA-3094: Add CLI args to SubmitCustomTrainingJobRequest (#550)
  bump min golang version (#548)
  DATA-3054: Added UpdateBoundingBox (#547)
  RSDK-8595 update docs with new behavior (#546)
  APP-3604 build endpoints for external oauth and repos (#544)
  add last updated to fragment proto (#540)
  APP-5851: Add optional visibility field to `CreateFragmentRequest` (#543)
  APP-5314 - add dates and limit to GetRobotPartLogsRequest (#538)
  RSDK-7903 Add unhealthy state and error field (#539)
  RSDK-8381 add viam server version to API (#537)
  [APP-5417]: Undo APP-5417 (#536)
  [APP-5417]: Accommodate pagination for GetRobotPartHistory in api (#535)
  Data 2816/get training job logs (#534)
  DATA-2792 - Add URL to UpdateRegistryItemRequest, but make it optional (#532)
  RSDK-8228 Add config status to machine status API (#531)
  Add revision field to config (#530)
  [APP-5420] Add ListMachineFragments request and response (#525)
  [APP-5400]: Add GetFragmentHistory proto (#524)
  RSDK-7899 Add MachineStatus to RobotService (#527)
  RSDK-8083: add LogPatternConfig field to RobotConfig API (#526)
  ...
maxhorowitz added a commit that referenced this pull request Sep 16, 2024
* main: (22 commits)
  DATA-3094: Add CLI args to SubmitCustomTrainingJobRequest (#550)
  bump min golang version (#548)
  DATA-3054: Added UpdateBoundingBox (#547)
  RSDK-8595 update docs with new behavior (#546)
  APP-3604 build endpoints for external oauth and repos (#544)
  add last updated to fragment proto (#540)
  APP-5851: Add optional visibility field to `CreateFragmentRequest` (#543)
  APP-5314 - add dates and limit to GetRobotPartLogsRequest (#538)
  RSDK-7903 Add unhealthy state and error field (#539)
  RSDK-8381 add viam server version to API (#537)
  [APP-5417]: Undo APP-5417 (#536)
  [APP-5417]: Accommodate pagination for GetRobotPartHistory in api (#535)
  Data 2816/get training job logs (#534)
  DATA-2792 - Add URL to UpdateRegistryItemRequest, but make it optional (#532)
  RSDK-8228 Add config status to machine status API (#531)
  Add revision field to config (#530)
  [APP-5420] Add ListMachineFragments request and response (#525)
  [APP-5400]: Add GetFragmentHistory proto (#524)
  RSDK-7899 Add MachineStatus to RobotService (#527)
  RSDK-8083: add LogPatternConfig field to RobotConfig API (#526)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-protos add this when you want protos to compile on every commit safe to test committer is a member of this org
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants