Train and evaluate Neural Frame Rate Upscaling models using Model Gym
Introduction
Understand neural graphics and Model Gym
Set up your environment
Launch the training notebook
Fine-tune and export a quantized model
Visualize your model with Model Explorer
Next Steps
Train and evaluate Neural Frame Rate Upscaling models using Model Gym
Who is this for?
This is an advanced topic for developers exploring neural graphics and interested in training and deploying frame generation models such as Neural Frame Rate Upscaling (NFRU) using PyTorch and Arm's hardware-aware backend.
What will you learn?
Upon completion of this Learning Path, you will be able to:
- Understand the principles of neural graphics and how it's applied to game performance
- Fine-tune and evaluate a neural network for Neural Frame Rate Upscaling (NFRU)
- Use the Model Gym Python API and CLI to configure and train neural graphics models
- Fine-tune an NFRU model with quantization-aware training (QAT) and export it to .vgf
- Inspect the graph of exported .vgf models using Model Explorer
Prerequisites
Before starting, you will need the following:
- Basic understanding of PyTorch and machine learning concepts
- A development machine running Ubuntu 22.04, with a CUDA-capable NVIDIA GPU
- CUDA Toolkit version 11.8 or later
- A working environment with a Python version later than 3.10
Summary
This summary was drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
.vgf model. Finally, you’ll use Model Explorer and the VGF adapter to inspect the model’s architecture, tensor shapes, and graph connectivity.Frequently asked questions
These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
3.10. Then, install the required dependency packages.neural-graphics-model-gym-examples, run jupyter lab. Open tutorials/nfru/nfru_training_example.ipynb and step through the notebook for training..vgf file. Then, open the .vgf file in Model Explorer with the VGF adapter to inspect architecture, tensor shapes, and graph connectivity.