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 \
|
||||
--audio-config example_data/configs/audio.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 \
|
||||
{{OPTIONS}} \
|
||||
example_data/dataset.yaml
|
||||
|
||||
@ -86,11 +86,13 @@ __all__ = ["train_command"]
|
||||
@click.option(
|
||||
"--train-workers",
|
||||
type=int,
|
||||
default=0,
|
||||
help="Number of worker processes for training data loading.",
|
||||
)
|
||||
@click.option(
|
||||
"--val-workers",
|
||||
type=int,
|
||||
default=0,
|
||||
help="Number of worker processes for validation data loading.",
|
||||
)
|
||||
@click.option(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user