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
Review 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.
Use Ubuntu 22.04 with a CUDA-capable NVIDIA GPU, CUDA Toolkit 11.8 or later, and Python later than
3.10. Then, install the required dependency packages.From
neural-graphics-model-gym-examples, run jupyter lab. Open tutorials/nfru/nfru_training_example.ipynb and step through the notebook for training.Create and inspect PyTorch checkpoints in the training and evaluation notebooks. In the evaluation notebook, you can measure accuracy, compare checkpoints, and see a visual comparison of the generated NFRU frame with the ground truth frame.
Start with PTQ if you want a faster trial because it calibrates an already-trained model without another training phase. Use QAT when PTQ causes unacceptable accuracy or visual-quality regressions. QAT simulates lower-precision inference during fine-tuning and helps preserve accuracy when you quantize the model to INT8.
Use the QAT notebook from the dedicated NFRU examples tag. The notebook includes the export step to produce a
.vgf file. Then, open the .vgf file in Model Explorer with the VGF adapter to inspect architecture, tensor shapes, and graph connectivity.