Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
Generic Training Dataset
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Arkindex
Workers
Generic Training Dataset
Commits
e6c732ea
Commit
e6c732ea
authored
1 year ago
by
Eva Bardou
Committed by
Yoann Schneider
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Update dataset archive extension to `.tar.zst`
parent
b017a586
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!13
Update dataset archive extension to `.tar.zst`
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
worker_generic_training_dataset/worker.py
+4
-4
4 additions, 4 deletions
worker_generic_training_dataset/worker.py
with
4 additions
and
4 deletions
worker_generic_training_dataset/worker.py
+
4
−
4
View file @
e6c732ea
...
...
@@ -355,11 +355,11 @@ class DatasetExtractor(DatasetWorker):
casted_elements
=
list
(
map
(
_format_element
,
elements
))
self
.
process_split
(
split_name
,
casted_elements
)
# TAR + ZST
D
the cache and the images folder, and store as task artifact
zst
d
_archive_path
:
Path
=
self
.
work_dir
/
f
"
{
dataset
.
id
}
.zst
d
"
logger
.
info
(
f
"
Compressing the images to
{
zst
d
_archive_path
}
"
)
# TAR + ZST the cache and the images folder, and store as task artifact
zst_archive_path
:
Path
=
self
.
work_dir
/
f
"
{
dataset
.
id
}
.
tar.
zst
"
logger
.
info
(
f
"
Compressing the images to
{
zst_archive_path
}
"
)
create_tar_zst_archive
(
source
=
self
.
data_folder_path
,
destination
=
zst
d
_archive_path
source
=
self
.
data_folder_path
,
destination
=
zst_archive_path
)
self
.
data_folder
.
cleanup
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment