Skip to content

Commit 04b2e25

Browse files
Fix title casing and improve clarity in introduction and environment setup sections
1 parent 391077b commit 04b2e25

File tree

4 files changed

+25
-22
lines changed

4 files changed

+25
-22
lines changed

content/learning-paths/mobile-graphics-and-gaming/model-training-gym/1-introduction.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
2-
title: Install Model Gym and Explore Neural Graphics Examples
2+
title: Install Model Gym and explore neural graphics examples
33
weight: 2
44

55
### FIXED, DO NOT MODIFY
66
layout: learningpathall
77
---
88

9-
## What is Neural Graphics?
9+
## What is neural graphics?
1010

1111
Neural graphics is an intersection of graphics and machine learning. Rather than relying purely on traditional GPU pipelines, neural graphics integrates learned models directly into the rendering stack. These techniques are particularly powerful on mobile devices, where battery life and performance constraints limit traditional compute-heavy rendering approaches. Your goal is to deliver high visual fidelity without increasing GPU cost. You achieve this by training and deploying compact neural networks optimized for your device's hardware.
1212

@@ -20,7 +20,7 @@ At its core are the ML Extensions for Vulkan, which bring native ML inference in
2020

2121

2222

23-
You can develop neural graphics models using well-known ML frameworks like PyTorch, then export them for deployment with Arm's hardware-aware pipeline. The workflow converts your model to `.vgf` via the TOSA intermediate representation, making it possible to tailor model development for your game use case. In this Learning Path, you will focus on **Neural Super Sampling (NSS)** as the primary example for training, evaluating, and deploying neural models using the [**Neural Graphics Model Gym**](https://github.com/arm/neural-graphics-model-gym). To learn more about NSS, see the [resources on Hugging Face](https://huggingface.co/Arm/neural-super-sampling). Arm has also developed a set of Vulkan Samples to help you get started. The `.vgf` format is introduced in the `postprocessing_with_vgf` sample. For a broader overview of neural graphics developer resources, including the Vulkan Samples, visit the [introductory Learning Path](/learning-paths/mobile-graphics-and-gaming/vulkan-ml-sample/).
23+
You can develop neural graphics models using well-known ML frameworks like PyTorch, then export them for deployment with Arm's hardware-aware pipeline. The workflow converts your model to `.vgf` using the TOSA intermediate representation, making it possible to tailor model development for your game use case. In this Learning Path, you will focus on **Neural Super Sampling (NSS)** as the primary example for training, evaluating, and deploying neural models using the [**Neural Graphics Model Gym**](https://github.com/arm/neural-graphics-model-gym). To learn more about NSS, see the [resources on Hugging Face](https://huggingface.co/Arm/neural-super-sampling). Arm has also developed a set of Vulkan Samples to help you get started. The `.vgf` format is introduced in the `postprocessing_with_vgf` sample. For a broader overview of neural graphics developer resources, including the Vulkan Samples, see the introductory Learning Path [Get started with neural graphics using ML Extensions for Vulkan](/learning-paths/mobile-graphics-and-gaming/vulkan-ml-sample/).
2424

2525

2626

@@ -41,4 +41,4 @@ With Model Gym, you can:
4141
You can choose to work with Python notebooks for rapid experimentation or use the command-line interface for automation. This Learning Path will walk you through the demonstrative notebooks and prepare you to start using the CLI for your own model development.
4242

4343

44-
You have completed the introduction! You're ready to set up your environment and start working with neural graphics models. Keep going!
44+
You're now ready to set up your environment and start working with neural graphics models. Keep going!

content/learning-paths/mobile-graphics-and-gaming/model-training-gym/2-devenv.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@ weight: 3
66
layout: learningpathall
77
---
88

9-
In this section, you will install a few dependencies into your Ubuntu environment. You'll need a working Python 3.10+ environment with some ML and system dependencies. Make sure Python is installed by verifying that the version is >3.10:
9+
## Overview
10+
11+
In this section, you will install a few dependencies into your Ubuntu environment. You'll need a working Python 3.10+ environment with some ML and system dependencies.
12+
13+
Start by making sure Python is installed by verifying that the version is >3.10:
1014

1115
```bash
1216
python3 --version
@@ -34,10 +38,10 @@ From inside the `neural-graphics-model-gym-examples/` folder, run the setup scri
3438
./setup.sh
3539
```
3640

37-
This will:
38-
- create a Python virtual environment called `nb-env`
39-
- install the `ng-model-gym` package and required dependencies
40-
- download the datasets and weights needed to run the notebooks
41+
This will do the following:
42+
- Create a Python virtual environment called `nb-env`
43+
- Install the `ng-model-gym` package and required dependencies
44+
- Download the datasets and weights needed to run the notebooks
4145

4246
Activate the virtual environment:
4347

content/learning-paths/mobile-graphics-and-gaming/model-training-gym/3-model-training.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,18 @@ weight: 4
55
### FIXED, DO NOT MODIFY
66
layout: learningpathall
77
---
8+
## About NSS
89

910
In this section, you'll get hands-on with how you can use the model gym to fine-tune the NSS use-case.
1011

11-
## About NSS
12-
1312
Arm Neural Super Sampling (NSS) is an upscaling technique designed to solve a growing challenge in real-time graphics: delivering high visual quality without compromising performance or battery life. Instead of rendering every pixel at full resolution, NSS uses a neural network to intelligently upscale frames, freeing up GPU resources and enabling smoother, more immersive experiences on mobile devices.
1413

15-
The NSS model is available in two formats:
14+
The NSS model is available in two formats, as shown in the table below:
1615

1716
| Model format | File extension | Used for |
1817
|--------------|----------------|--------------------------------------------------------------------------|
19-
| PyTorch | .pt | training, fine-tuning, or evaluation in or scripts using the Model Gym |
20-
| VGF | .vgf | for deployment using ML Extensions for Vulkan on Arm-based hardware or emulation layers |
18+
| PyTorch | `.pt` | training, fine-tuning, or evaluation in or scripts using the Model Gym |
19+
| VGF | `.vgf` | for deployment using ML Extensions for Vulkan on Arm-based hardware or emulation layers |
2120

2221
Both formats are available in the [NSS repository on Hugging Face](https://huggingface.co/Arm/neural-super-sampling). You'll also be able to explore config files, model metadata, usage details and detailed documentation on the use-case.
2322

content/learning-paths/mobile-graphics-and-gaming/model-training-gym/4-model-explorer.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,27 +12,29 @@ Model Explorer is a visualization tool for inspecting neural network structures
1212

1313
This lets you inspect model architecture, tensor shapes, and graph connectivity before deployment. This can be a powerful way to debug and understand your exported neural graphics models.
1414

15-
## Setting up the VGF adapter
15+
## Set up the VGF adapter
1616

1717
The VGF adapter extends Model Explorer to support `.vgf` files exported from the Model Gym toolchain.
1818

19-
### Install the VGF adapter with pip
19+
## Install the VGF adapter with pip
20+
21+
Run:
2022

2123
```bash
2224
pip install vgf-adapter-model-explorer
2325
```
2426

25-
The source code is available on [GitHub](https://github.com/arm/vgf-adapter-model-explorer).
27+
The VGF adapter model explorer source code is available on [GitHub](https://github.com/arm/vgf-adapter-model-explorer).
2628

27-
### Install Model Explorer
29+
## Install Model Explorer
2830

2931
The next step is to make sure the Model Explorer itself is installed. Use pip to set it up:
3032

3133
```bash
3234
pip install torch ai-edge-model-explorer
3335
```
3436

35-
### Launch the viewer
37+
## Launch the viewer
3638

3739
Once installed, launch the explorer with the VGF adapter:
3840

@@ -44,6 +46,4 @@ Use the file browser to open the `.vgf` model exported earlier in your training
4446

4547
## Wrapping up
4648

47-
Through this Learning Path, you’ve learned what neural graphics is and why it matters for game performance. You’ve stepped through the process of training and evaluating an NSS model using PyTorch and the Model Gym, and seen how to export that model into VGF (.vgf) for real-time deployment. You’ve also explored how to visualize and inspect the model’s structure using Model Explorer.
48-
49-
You’ve completed the Learning Path. You now know how to train, export, and visualize neural graphics models on Arm. Explore the Model Training Gym repository for deeper integration and to keep building your skills.
49+
Through this Learning Path, you’ve learned what neural graphics is and why it matters for game performance. You’ve stepped through the process of training and evaluating an NSS model using PyTorch and the Model Gym, and seen how to export that model into VGF (.vgf) for real-time deployment. You’ve also explored how to visualize and inspect the model’s structure using Model Explorer. You can now explore the Model Training Gym repository for deeper integration and to keep building your skills.

0 commit comments

Comments
 (0)