-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Simplify upload data for task #5498
Conversation
/check |
❌ Some checks failed |
/check |
❌ Some checks failed |
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.
Could you please add:
- PR description
- Any documentation about this feature
Co-authored-by: Maxim Zhiltsov <[email protected]>
…/opencv/cvat into mk/symplify_upload_data_for_task
/check |
❌ Some checks failed |
/check |
❌ Some checks failed |
acdf9c5
to
c1eb340
Compare
c1eb340
to
7cce69b
Compare
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.
I'd like to have any documentation on the feature, otherwise it's almost like "dead code". We could also add a CLI option for this feature. It can be done in other PRs.
images = [] | ||
for i in range(count): | ||
image = generate_image_file(f"{i}.jpeg", color=(i, i, i)) | ||
prefix = prefixes[i] if prefixes else "" |
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.
It works only because len(prefixes) == count in the code. Probably it is a bug. Let's fix in your next PR.
This PR fixes a problem with local running of tests introduced in #5498. When running tests locally, there can be multiple tags available, while we need the `dev` tag, which should be created right before tests are executed. - Added the missing image tag in the docker run command
It's possible to specify only the manifest file and filename pattern for creating task with cloud storage data. The special characters supported now for the pattern are `*`, `?`, `[seq]`, `[!seq]`. Please see [here](https://github.com/opencv/cvat/blob/8898a8b2647514dd6f3f6ce83745b1ca8ef72bce/tests/python/rest_api/test_tasks.py#L686) for some examples of how to use this functionality. Co-authored-by: Maxim Zhiltsov <[email protected]>
This PR fixes a problem with local running of tests introduced in cvat-ai#5498. When running tests locally, there can be multiple tags available, while we need the `dev` tag, which should be created right before tests are executed. - Added the missing image tag in the docker run command
Motivation and context
It's possible to specify only the manifest file and filename pattern for creating task with cloud storage data.
The special characters supported now for the pattern are
*
,?
,[seq]
,[!seq]
.Please see here for some examples of how to use this functionality.
How has this been tested?
Manually, added REST API test
Checklist
develop
branch- [ ] I have linked related issues (read github docs)- [ ] I have increased versions of npm packages if it is necessary (cvat-canvas,cvat-core, cvat-data and cvat-ui)
License
Feel free to contact the maintainers if that's a concern.