Skip to content
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

Create task with git repository #4365

Closed
2 tasks done
LeDuySon opened this issue Feb 19, 2022 · 2 comments · Fixed by #5409
Closed
2 tasks done

Create task with git repository #4365

LeDuySon opened this issue Feb 19, 2022 · 2 comments · Fixed by #5409
Assignees

Comments

@LeDuySon
Copy link

LeDuySon commented Feb 19, 2022

My actions before raising this issue

Expected Behaviour

Create a task with github repository for synchronizing task https://openvinotoolkit.github.io/cvat/docs/manual/advanced/task-synchronization/

Context

I'm trying to create new task with a git repository using cli https://openvinotoolkit.github.io/cvat/docs/manual/advanced/cli// but it always shows error that "format" key is missing. When i dont create task with github repository, everything works fine.

Your Environment

  • Code example or link to GitHub repo or gist to reproduce problem:
subprocess.call([
            'python', 'cvat/utils/cli/cli.py', \
            "--auth", auth_account, \
            "create", task_name, \
            "--labels", '[{"name": "person"}]', \
            "--project_id", str(args.project_id), \
            "--dataset_repository_url", "https://github.com/LeDuySon/BackupDataset", \
            "--annotation_format", "CVAT 1.1", \
            "local", video_path
            ])
  • Other diagnostic information / logs:
    image
    image
@bsekachev
Copy link
Member

@zhiltsov-max Does SDK cover creating tasks with attached git repos?

@zhiltsov-max
Copy link
Contributor

zhiltsov-max commented Sep 9, 2022

Hi, yes, it does. Both SDK and CLI. We don't have tests on this, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants