330552afb4 | ||
---|---|---|
.. | ||
README.md | ||
basic-tensor-op.ipynb | ||
plots.ipynb |
README.md
Jupyter Notebook Examples with Burn
This directory includes Jupyter Notebook examples showcasing the usage of the Burn deep learning framework in Rust through Evcxr Jupyter. The examples are systematically organized based on the specific Burn features they illustrate.
Viewing Options
You can explore the examples in different ways:
-
Notebook Viewer: If you prefer not to set up the entire crate package, you can view the examples in a notebook viewer or run them to see images and other media outputs.
-
Visual Studio Code (vscode): If you're using vscode, you already have access to a built-in notebook viewer, enabling you to open and interact with the notebook files directly.
For other editors, you can utilize the Jupyter Notebook Viewer.
Getting Started with Rust and Evcxr
To execute the Rust code within the notebooks, you must install the Evcxr kernel. Here's how to get started:
Install Evcxr Kernel
-
Build Evcxr Kernel: Install the required package with the following command:
cargo install evcxr_jupyter
-
Install and Register the Kernel to Jupyter:
evcxr_jupyter --install
Open and Run Notebooks
Once the kernel is installed, you can open the notebook files in your preferred editor and run the
code. Ensure that the kernel is set to Rust
within the notebook for proper execution.
Additional Reading Resources
- Notebook Special Commands for Evcxr: Learn about the unique commands and functionalities offered by Evcxr for a more efficient workflow with Jupyter Notebooks.