dalva.init()
Initialize a new experiment run.
dalva.init
init(
project: str,
name: str | None = None,
config: dict | None = None,
resume: str | None = None,
server_url: str = "http://localhost:8000",
) -> Run
Initialize a new run.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
project
|
str
|
Project name |
required |
name
|
str | None
|
Optional run name (user-defined, for display purposes only) |
None
|
config
|
dict | None
|
Optional configuration dictionary |
None
|
resume
|
str | None
|
run_id to resume (omit to create a new run) |
None
|
server_url
|
str
|
Server URL. Defaults to http://localhost:8000 |
'http://localhost:8000'
|
Returns:
| Type | Description |
|---|---|
Run
|
Run object |