2024-01-26 05:16:39 +08:00
|
|
|
# Basic Workflow: From Training to Inference
|
|
|
|
|
2024-09-25 21:07:55 +08:00
|
|
|
This example corresponds to the [book's guide](https://burn.dev/burn-book/basic-workflow/).
|
2024-01-26 05:16:39 +08:00
|
|
|
|
|
|
|
## Example Usage
|
|
|
|
|
2024-07-02 01:42:17 +08:00
|
|
|
|
|
|
|
### Training
|
|
|
|
|
|
|
|
```sh
|
|
|
|
cargo run --bin train --release
|
|
|
|
```
|
|
|
|
|
|
|
|
### Inference
|
|
|
|
|
|
|
|
```sh
|
|
|
|
cargo run --bin infer --release
|
|
|
|
```
|
|
|
|
|
|
|
|
### Print the model
|
|
|
|
|
2024-01-26 05:16:39 +08:00
|
|
|
```sh
|
2024-07-02 01:42:17 +08:00
|
|
|
cargo run --bin print --release
|
|
|
|
```
|