-
Notifications
You must be signed in to change notification settings - Fork 4
update readme #219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update readme #219
Conversation
| ], | ||
| "attributes": [ | ||
| { | ||
| "type": "text", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
必須のパラメータであり、現状のサンプルコードではエラーが出てしまう。
README.md
Outdated
| } | ||
| ``` | ||
|
|
||
| If you would like to create with classification type annotations, please pass empty points and value of the annotation named 'classification'. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
create の後に目的語(a new dataset objectとか)あった方が良さそうです!
If you would like to create a new dataset object with classification type annotations, ~~
README.md
Outdated
| ``` | ||
|
|
||
| If you would like to create with classification type annotations, please pass empty points and value of the annotation named 'classification'. | ||
|
|
||
| ```python | ||
| dataset_object = client.create_dataset_object( | ||
| dataset="YOUR_DATASET_NAME", | ||
| name="brushwood_dog.jpg", | ||
| file_path="./brushwood_dog.jpg", | ||
| tags=["dog"], # max 5 tags per dataset object. | ||
| licenses=["MIT", "my-license"], # max 10 licenses per dataset object | ||
| annotations=[ | ||
| { | ||
| "type": "classification", | ||
| "value": "classification", | ||
| "points": [], | ||
| "attributes": [ | ||
| { | ||
| "type": "text", | ||
| "value": "Scottish field", | ||
| "key": "kind" | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
| ) | ||
| ``` | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Response Dataset Objectのセクションより前にあった方が良さそうかと思いましたがいかがでしょうか?
背景
create_dataset_objectで分類アノテーションを付与する際のパラメータについてREADMEに記載が無かった。
対応
分類アノテーションを付与する時のパラメータについてREADMEに記載した。