mirror of https://github.com/tracel-ai/burn.git
Add vision feature for MNIST in book guide (#1267)
This commit is contained in:
parent
d2bdc46786
commit
059c241511
|
@ -10,7 +10,7 @@ cargo new my-first-burn-model
|
||||||
As [mentioned previously](../getting-started.md#creating-a-burn-application), this will initialize
|
As [mentioned previously](../getting-started.md#creating-a-burn-application), this will initialize
|
||||||
your `my-first-burn-model` project directory with a `Cargo.toml` and a `src/main.rs` file.
|
your `my-first-burn-model` project directory with a `Cargo.toml` and a `src/main.rs` file.
|
||||||
|
|
||||||
In the `Cargo.toml` file, add the `burn` dependency with `train` and `wgpu` features.
|
In the `Cargo.toml` file, add the `burn` dependency with `train`, `wgpu` and `vision` features.
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[package]
|
[package]
|
||||||
|
@ -19,7 +19,7 @@ version = "0.1.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
burn = { version = "0.13.0", features = ["train", "wgpu"] }
|
burn = { version = "0.13.0", features = ["train", "wgpu", "vision"] }
|
||||||
```
|
```
|
||||||
|
|
||||||
Our goal will be to create a basic convolutional neural network used for image classification. We
|
Our goal will be to create a basic convolutional neural network used for image classification. We
|
||||||
|
|
Loading…
Reference in New Issue