Exemplo n.º 1
0
def dataset():
    # create a temporary dataset
    dataset = testing_lib.create_dataset(PROJECT_ID)

    testing_lib.import_data(dataset.name, 'IMAGE', INPUT_GCS_URI)
    yield dataset

    # tear down
    testing_lib.delete_dataset(dataset.name)
Exemplo n.º 2
0
def dataset():
    # create a temporary dataset
    dataset = testing_lib.create_dataset(PROJECT_ID)

    testing_lib.import_data(dataset.name, datalabeling.DataType.VIDEO, INPUT_GCS_URI)

    yield dataset

    # tear down
    testing_lib.delete_dataset(dataset.name)