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.
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.
python3 --version and verify it reports a version later than 3.10. Ensure the listed Ubuntu packages are installed so virtual environments and builds can complete..vgf model produced by the training and export pipeline. You can open the file with Model Explorer using the VGF adapter..vgf file and check that the model graph renders with layers, tensor shapes, and connectivity visible. If the graph opens without errors, the adapter is set up correctly.