mirror of
https://github.com/macaodha/batdetect2.git
synced 2026-05-22 22:32:18 +02:00
Set default num workers to 0
This commit is contained in:
parent
7a10b7ffff
commit
cbe428fc3f
2
justfile
2
justfile
@ -118,8 +118,6 @@ example-train OPTIONS="":
|
|||||||
--training-config example_data/configs/training.yaml \
|
--training-config example_data/configs/training.yaml \
|
||||||
--audio-config example_data/configs/audio.yaml \
|
--audio-config example_data/configs/audio.yaml \
|
||||||
--evaluation-config example_data/configs/evaluation.yaml \
|
--evaluation-config example_data/configs/evaluation.yaml \
|
||||||
--inference-config example_data/configs/inference.yaml \
|
|
||||||
--outputs-config example_data/configs/outputs.yaml \
|
|
||||||
--logging-config example_data/configs/logging.yaml \
|
--logging-config example_data/configs/logging.yaml \
|
||||||
{{OPTIONS}} \
|
{{OPTIONS}} \
|
||||||
example_data/dataset.yaml
|
example_data/dataset.yaml
|
||||||
|
|||||||
@ -86,11 +86,13 @@ __all__ = ["train_command"]
|
|||||||
@click.option(
|
@click.option(
|
||||||
"--train-workers",
|
"--train-workers",
|
||||||
type=int,
|
type=int,
|
||||||
|
default=0,
|
||||||
help="Number of worker processes for training data loading.",
|
help="Number of worker processes for training data loading.",
|
||||||
)
|
)
|
||||||
@click.option(
|
@click.option(
|
||||||
"--val-workers",
|
"--val-workers",
|
||||||
type=int,
|
type=int,
|
||||||
|
default=0,
|
||||||
help="Number of worker processes for validation data loading.",
|
help="Number of worker processes for validation data loading.",
|
||||||
)
|
)
|
||||||
@click.option(
|
@click.option(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user