Skip to content

Commit 9c01c4d

Browse files
committed
remove extra code
1 parent afdfa42 commit 9c01c4d

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

vision/automl/automl_vision_od_dataset.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -70,15 +70,6 @@ def create_dataset(project_id, compute_region, dataset_name):
7070
print('Dataset create time:')
7171
print('\tseconds: {}'.format(dataset.create_time.seconds))
7272
print('\tnanos: {}'.format(dataset.create_time.nanos))
73-
dataset_spec = {}
74-
my_dataset = {
75-
'display_name': dataset_name,
76-
'image_object_detection_dataset_metadata': dataset_spec
77-
}
78-
response = client.create_dataset(project_location, my_dataset)
79-
print('\nDataset creation: {}'.format(response))
80-
dataset_full_id = response.name
81-
print('Dataset full id: {}'.format(dataset_full_id))
8273

8374
# [END automl_vision_iod_create_dataset]
8475

0 commit comments

Comments
 (0)