Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.bio.base
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package 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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bob
bob.bio.base
Merge requests
!284
[click] add --no-dask option to pipeline simple
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
[click] add --no-dask option to pipeline simple
allow-no-dask
into
master
Overview
0
Commits
2
Pipelines
2
Changes
6
Merged
[click] add --no-dask option to pipeline simple
Amir MOHAMMADI
requested to merge
allow-no-dask
into
master
Apr 25, 2022
Overview
0
Commits
2
Pipelines
2
Changes
6
fixes
#180 (closed)
0
0
Merge request reports
Compare
master
version 1
a2f4aa84
Apr 25, 2022
master (base)
and
latest version
latest version
52576338
2 commits,
Apr 25, 2022
version 1
a2f4aa84
1 commit,
Apr 25, 2022
6 files
+
24
−
19
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
6
bob/bio/base/script/pipeline_simple.py
+
18
−
9
View file @ 52576338
Edit in single-file editor
Open in Web IDE
Show full file
@@ -151,6 +151,12 @@ It is possible to do it via configuration file
help
=
"
If set, it will force generate all the checkpoints of an experiment. This option doesn
'
t work if `--memory` is set
"
,
cls
=
ResourceOption
,
)
@click.option
(
"
--no-dask
"
,
is_flag
=
True
,
help
=
"
If set, it will not use Dask to run the experiment.
"
,
cls
=
ResourceOption
,
)
@verbosity_option
(
cls
=
ResourceOption
)
def
pipeline_simple
(
pipeline
,
@@ -164,6 +170,7 @@ def pipeline_simple(
dask_partition_size
,
dask_n_workers
,
force
,
no_dask
,
**
kwargs
,
):
"""
Runs the simplest biometrics pipeline.
@@ -221,21 +228,23 @@ def pipeline_simple(
instead.
"""
if
no_dask
:
dask_client
=
None
checkpoint
=
not
memory
logger
.
debug
(
"
Executing PipelineSimple
"
)
execute_pipeline_simple
(
pipeline
,
database
,
dask_client
,
groups
,
output
,
write_metadata_scores
,
checkpoint
,
dask_partition_size
,
dask_n_workers
,
pipeline
=
pipeline
,
database
=
database
,
dask_client
=
dask_client
,
groups
=
groups
,
output
=
output
,
write_metadata_scores
=
write_metadata_scores
,
checkpoint
=
checkpoint
,
dask_partition_size
=
dask_partition_size
,
dask_n_workers
=
dask_n_workers
,
checkpoint_dir
=
checkpoint_dir
,
force
=
force
,
**
kwargs
,
Loading