SFrame
を使用してオブジェクト検出を実行するために、画像と境界ボックスの座標を含むを作成しようとしていますTuriCreate
。IBM 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.
私が知りたいのですが:
CreateML
エクスポートデータのフォーマットは正しいですか?SFrame.read_json()
この種のデータの読み取りに使用できますか?