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
76dc2639
Unverified
Commit
76dc2639
authored
1 year ago
by
Yoann Schneider
Browse files
Options
Downloads
Patches
Plain Diff
remove debug modifs
parent
ef9e796a
No related branches found
No related tags found
1 merge request
!2
Implement worker
Pipeline
#81812
passed
1 year ago
Stage: test
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ci/build.sh
+0
-1
0 additions, 1 deletion
ci/build.sh
worker_generic_training_dataset/worker.py
+3
-3
3 additions, 3 deletions
worker_generic_training_dataset/worker.py
with
3 additions
and
4 deletions
ci/build.sh
+
0
−
1
View file @
76dc2639
...
@@ -5,7 +5,6 @@
...
@@ -5,7 +5,6 @@
# Will automatically login to a registry if CI_REGISTRY, CI_REGISTRY_USER and CI_REGISTRY_PASSWORD are set.
# Will automatically login to a registry if CI_REGISTRY, CI_REGISTRY_USER and CI_REGISTRY_PASSWORD are set.
# Will only push an image if $CI_REGISTRY is set.
# Will only push an image if $CI_REGISTRY is set.
VERSION
=
"POC"
if
[
-z
"
$VERSION
"
]
;
then
if
[
-z
"
$VERSION
"
]
;
then
VERSION
=
${
CI_COMMIT_TAG
:-
latest
}
VERSION
=
${
CI_COMMIT_TAG
:-
latest
}
fi
fi
...
...
This diff is collapsed.
Click to expand it.
worker_generic_training_dataset/worker.py
+
3
−
3
View file @
76dc2639
...
@@ -77,15 +77,15 @@ class DatasetExtractor(BaseWorker):
...
@@ -77,15 +77,15 @@ class DatasetExtractor(BaseWorker):
"""
"""
logger
.
info
(
"
Retrieving information from process_information
"
)
logger
.
info
(
"
Retrieving information from process_information
"
)
train_folder_id
=
self
.
config
.
get
(
"
train_folder_id
"
)
train_folder_id
=
self
.
process_information
.
get
(
"
train_folder_id
"
)
assert
train_folder_id
,
"
A training folder id is necessary to use this worker
"
assert
train_folder_id
,
"
A training folder id is necessary to use this worker
"
self
.
training_folder_id
=
UUID
(
train_folder_id
)
self
.
training_folder_id
=
UUID
(
train_folder_id
)
val_folder_id
=
self
.
config
.
get
(
"
validation_folder_id
"
)
val_folder_id
=
self
.
process_information
.
get
(
"
validation_folder_id
"
)
assert
val_folder_id
,
"
A validation folder id is necessary to use this worker
"
assert
val_folder_id
,
"
A validation folder id is necessary to use this worker
"
self
.
validation_folder_id
=
UUID
(
val_folder_id
)
self
.
validation_folder_id
=
UUID
(
val_folder_id
)
test_folder_id
=
self
.
config
.
get
(
"
test_folder_id
"
)
test_folder_id
=
self
.
process_information
.
get
(
"
test_folder_id
"
)
self
.
testing_folder_id
:
UUID
|
None
=
(
self
.
testing_folder_id
:
UUID
|
None
=
(
UUID
(
test_folder_id
)
if
test_folder_id
else
None
UUID
(
test_folder_id
)
if
test_folder_id
else
None
)
)
...
...
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