/
Training locally (using the command line)

Training locally (using the command line)

In this document we will go over how to use the command line to train instead of a notebook.

Running a single training

Create your configuration file (as shown in the examples). Then `python

Running a sweep

Running a sweep is a bit more complicated using the command line.

You will first need to create a configuration file base_config.json and a sweep_config.yaml. The entrypoint for the sweep should be run_flow.py or whatever you name it in step 2.

  1. You will then need to download the script located here and name it run_flow.py or whatever.

  2. Set BASE_CONFIG_PATH to the config path

  3. Create a sweep using the config you just created: wandb sweep --project sweeps_demo sweep_config.yaml copy the sweep_id

  4. wandb agent sweep_id (using the sweep_id you just created).

 

Related content

Frequently Asked Questions
Frequently Asked Questions
More like this
Getting Started
Getting Started
More like this
Contributing
Contributing
More like this
Training on Multiple Series at Once
Training on Multiple Series at Once
More like this
Live Coding Tutorials
Live Coding Tutorials
More like this
Flow-Forecast PyData Global Sprint 🏃 2020 (11-10 to 11-18)
Flow-Forecast PyData Global Sprint 🏃 2020 (11-10 to 11-18)
More like this