# Visualize label assignment This tutorial explains how to visualize your label asssignment result when training with YOLOX. ## 1. Visualization command We provide a visualization tool to help you visualize your label assignment result. You can find it in [`tools/visualize_assignment.py`](../tools/visualize_assign.py). Here is an example of command to visualize your label assignment result: ```shell python3 tools/visualize_assign.py -f /path/to/your/exp.py yolox-s -d 1 -b 8 --max-batch 2 ``` `max-batch` here means the maximum number of batches to visualize. The default value is 1, which the tool means only visualize the first batch. By the way, the mosaic augmentation is used in default dataloader, so you can also see the mosaic result here. After running the command, the logger will show you where the visualization result is saved, let's open it and into the step 2. ## 2. Check the visualization result Here is an example of visualization result: