Progress Bar Callback
lerax.callback.progress_bar.ProgressBarCallbackStepState
Bases:
State for ProgressBarCallback at each step.
Attributes:
| Name | Type | Description |
|---|---|---|
|
|
Number of steps taken in the current iteration. |
lerax.callback.ProgressBarCallback
Bases:
Callback for displaying a progress bar during training.
Note
If the callback is instantiated inside a JIT-compiled function, it may not work correctly.
Attributes:
| Name | Type | Description |
|---|---|---|
|
|
JITProgressBar instance for displaying progress. |
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
total_timesteps
|
|
Total number of timesteps for the progress bar. |
None
|
name
|
|
Name of the progress bar. If None, a default name is generated from the environment and policy names. |
None
|
env
|
|
The environment being trained on. Used for naming if |
None
|
policy
|
|
The policy being trained. Used for naming if |
None
|