File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
articles/cognitive-services/Custom-Vision-Service/includes/quickstarts Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ prediction_resource_id = "<your prediction resource id>"
52
52
publish_iteration_name = " detectModel"
53
53
54
54
credentials = ApiKeyCredentials(in_headers = {" Training-key" : training_key})
55
- trainer = CustomVisionTrainingClient(endpoint = ENDPOINT , credentials)
55
+ trainer = CustomVisionTrainingClient(ENDPOINT , credentials)
56
56
57
57
# Find the object detection domain
58
58
obj_detection_domain = next (domain for domain in trainer.get_domains() if domain.type == " ObjectDetection" and domain.name == " General" )
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ prediction_resource_id = "<your prediction resource id>"
50
50
publish_iteration_name = " classifyModel"
51
51
52
52
credentials = ApiKeyCredentials(in_headers = {" Training-key" : training_key})
53
- trainer = CustomVisionTrainingClient(endpoint = ENDPOINT , credentials)
53
+ trainer = CustomVisionTrainingClient(ENDPOINT , credentials)
54
54
55
55
# Create a new project
56
56
print (" Creating project..." )
You can’t perform that action at this time.
0 commit comments