-
Notifications
You must be signed in to change notification settings - Fork 4
Add update function of video and multi-image #101
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
Conversation
| project is slug of your project. (Required) | ||
| task_name is a task name. (Required) | ||
| project is slug of your project (Required). |
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.
linterで1つのパラメータが1行で収まらないものがあるので、パラメータごとの終わりを認識しやすいように、ピリオドを () の後につけるようにしました。
| for p in glob.glob( | ||
| os.path.join(dataset_folder_path, "**/*"), recursive=True | ||
| ) | ||
| if re.search(r"/*\.({})".format("|".join(image_types)), str(p)) |
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.
\. がlinterで警告出てたので、 r をつけるようにしました。
| def find_image_classification_task(self, task_id: str) -> dict: | ||
| """ | ||
| Find a signle image classification task. | ||
| Find a single image classification task. |
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.
気づいたところの typo を修正しました。
| return self.api.get_request(endpoint) | ||
|
|
||
| def find_image_classification_task_by_name(self, project: str, task_name: str) -> dict: | ||
| def find_image_classification_task_by_name( |
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.
formatter による差分です
| ) -> list: | ||
| """ | ||
| Returns a list of image tasks. | ||
| Returns up to 1000 at a time, to get more, set offset as the starting position to fetch. |
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.
maxlength にかかったので、修正しています(他も同様)
| for p in glob.glob( | ||
| os.path.join(dataset_folder_path, "**/*.txt"), recursive=True | ||
| ) | ||
| if re.search(r"/*\.txt", str(p)) |
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.
\. がlinterで警告出てたので、 r をつけるようにしました。
eisuke-ueta
left a comment
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.
LGTM
API側がproductionにマージされたらマージ。
|
@eisuke-ueta cc: @ijufumi |
対応内容
関連Issue
関連PR