-
Notifications
You must be signed in to change notification settings - Fork 3k
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
improved documentation for component 'Semi-automatic and automatic an… #2273
Closed
Closed
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -281,9 +281,24 @@ docker-compose -f docker-compose.yml -f components/analytics/docker-compose.anal | |||||
``` | ||||||
|
||||||
### Semi-automatic and automatic annotation | ||||||
- First of all, you need to build and run the container with [serverless support for CVAT](/components/serverless/README.md): | ||||||
|
||||||
- You have to install `nuctl` command line tool to build and deploy serverless | ||||||
```bash | ||||||
# From project root directory | ||||||
docker-compose -f docker-compose.yml -f components/serverless/docker-compose.serverless.yml up -d | ||||||
``` | ||||||
|
||||||
- You also have to install `nuctl` command line tool to build and deploy serverless | ||||||
functions. Download [the latest release](https://github.com/nuclio/nuclio/releases). | ||||||
For example, for Ubuntu you can download the binary file `nuctl-1.4.18-linux-amd64`. | ||||||
Put it in the CVAT root directory and change its permission to be executable. | ||||||
|
||||||
- [Run Nuclio dashboard with](https://github.com/nuclio/nuclio) | ||||||
|
||||||
```bash | ||||||
docker run -p 8070:8070 -v /var/run/docker.sock:/var/run/docker.sock -v /tmp:/tmp --name nuclio-dashboard quay.io/nuclio/dashboard:stable-amd64 | ||||||
``` | ||||||
|
||||||
- Create `cvat` project inside nuclio dashboard where you will deploy new | ||||||
serverless functions and deploy a couple of DL models. Commands below should | ||||||
be run only after CVAT has been installed using docker-compose because it | ||||||
|
@@ -307,7 +322,10 @@ nuctl deploy --project-name cvat \ | |||||
--platform local | ||||||
``` | ||||||
|
||||||
Note: see [deploy.sh](/serverless/deploy.sh) script for more examples. | ||||||
Note: | ||||||
- see [deploy.sh](/serverless/deploy.sh) script for more examples. | ||||||
- As an example, if you use `nuctl-1.4.18-linux-amd64` in the CVAT root directory, | ||||||
you need to change the `nuctl` in the above commands to `.nuctl-1.4.18-linux-amd64`. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Probably a better approach is to rename nuclt-* to nuctl or make a soft link |
||||||
|
||||||
### Stop all containers | ||||||
|
||||||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 think it's unnecessary step, it's already configured here https://github.com/openvinotoolkit/cvat/blob/develop/components/serverless/docker-compose.serverless.yml#L4-L20