-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/develop' into az/rename_git_app
- Loading branch information
Showing
49 changed files
with
675 additions
and
200 deletions.
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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
version: '2.3' | ||
version: '3.3' | ||
services: | ||
cvat_elasticsearch: | ||
container_name: cvat_elasticsearch | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
version: '2.3' | ||
version: '3.3' | ||
services: | ||
serverless: | ||
container_name: nuclio | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Data preparation on the fly | ||
|
||
## Description | ||
Data on the fly processing is a way of working with data, the main idea of which is as follows: | ||
Minimum necessary meta information is collected, when task is created. | ||
This meta information allows in the future to create a necessary chunks when receiving a request from a client. | ||
|
||
Generated chunks are stored in a cache of limited size with a policy of evicting less popular items. | ||
|
||
When a request received from a client, the required chunk is searched for in the cache. | ||
If the chunk does not exist yet, it is created using a prepared meta information and then put into the cache. | ||
|
||
This method of working with data allows: | ||
- reduce the task creation time. | ||
- store data in a cache of limited size with a policy of evicting less popular items. | ||
|
||
## Prepare meta information | ||
Different meta information is collected for different types of uploaded data. | ||
### Video | ||
For video, this is a valid mapping of key frame numbers and their timestamps. This information is saved to `meta_info.txt`. | ||
|
||
Unfortunately, this method will not work for all videos with valid meta information. | ||
If there are not enough keyframes in the video for smooth video decoding, the task will be created in the old way. | ||
|
||
#### Uploading meta information along with data | ||
|
||
When creating a task, you can upload a file with meta information along with the video, | ||
which will further reduce the time for creating a task. | ||
You can see how to prepare meta information [here](/utils/prepare_meta_information/README.md). | ||
|
||
It is worth noting that the generated file also contains information about the number of frames in the video at the end. | ||
|
||
### Images | ||
Mapping of chunk number and paths to images that should enter the chunk | ||
is saved at the time of creating a task in a files `dummy_{chunk_number}.txt` |
Binary file removed
BIN
-873 KB
cvat/apps/documentation/static/documentation/images/gif009_detrac.gif
Binary file not shown.
Binary file modified
BIN
+1.77 KB
(110%)
cvat/apps/documentation/static/documentation/images/image005.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-15.8 KB
(91%)
cvat/apps/documentation/static/documentation/images/image007_detrac.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+10.4 KB
(160%)
cvat/apps/documentation/static/documentation/images/image047.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-123 Bytes
(99%)
cvat/apps/documentation/static/documentation/images/image051.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+537 Bytes
(100%)
cvat/apps/documentation/static/documentation/images/image087_detrac.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+716 Bytes
(100%)
cvat/apps/documentation/static/documentation/images/image088_detrac.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1.43 KB
(100%)
cvat/apps/documentation/static/documentation/images/image089_detrac.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+9.22 KB
(130%)
cvat/apps/documentation/static/documentation/images/image090_detrac.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+8.62 KB
(120%)
cvat/apps/documentation/static/documentation/images/image093_detrac.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+8.85 KB
(130%)
cvat/apps/documentation/static/documentation/images/image094_detrac.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+8.88 KB
(130%)
cvat/apps/documentation/static/documentation/images/image095_detrac.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-18.2 KB
(73%)
cvat/apps/documentation/static/documentation/images/image099.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file modified
BIN
-5.54 KB
(53%)
cvat/apps/documentation/static/documentation/images/image114.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1.16 KB
(110%)
cvat/apps/documentation/static/documentation/images/image123.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+3.75 KB
(120%)
cvat/apps/documentation/static/documentation/images/image124.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+4.48 KB
(110%)
cvat/apps/documentation/static/documentation/images/image125.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+7.96 KB
(130%)
cvat/apps/documentation/static/documentation/images/image126.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file added
BIN
+37.9 KB
cvat/apps/documentation/static/documentation/images/image128_use_cache.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-12.9 KB
(32%)
cvat/apps/documentation/static/documentation/images/image133.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+15.5 KB
(180%)
cvat/apps/documentation/static/documentation/images/image153.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+23.3 KB
cvat/apps/documentation/static/documentation/images/image188_detrac.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.