1

SFrameを使用してオブジェクト検出を実行するために、画像と境界ボックスの座標を含むを作成しようとしていますTuriCreateIBM Cloud Annotationsによって独自のデータセットを作成し、CreateML形式としてエクスポートしました。私が実行すると:

usage_data = tc.SFrame.read_json("annotations.json")

私は得る:

[{'ラベル':'xyz'... | 8be1172e-44bb-4084-917f-db....

これは要求された形式ではありません。以下のコードの実行を確認しています。

data = tc.SFrame.read_json("annotations.json")

train_data, test_data = data.random_split(0.75)

model = tc.object_detector.create(train_data)

predictions = model.predict(test_data)

`私は得る:

ToolkitError: No "feature" column specified and no column with expected type "image" is found. "datasets" consists of columns with types: list, str.

私が知りたいのですが:

  1. CreateMLエクスポートデータのフォーマットは正しいですか?
  2. SFrame.read_json()この種のデータの読み取りに使用できますか?
4

1 に答える 1