---
title: "JSON Settings"
product: "LumiScan Training"
component: "lumiscan-training"
version: "2.3.0"
display_version: "2.3.0.2"
latest_version: true
language: "en"
url: "https://docs.hdvisionsystems.com/en/lumiscan-training/2.3.0/json-settings.html"
---

# JSON Settings – LumiScan Training

## [source,json]

{ "trainingData": "C:/Users/user_name/Desktop/recordings/raw", "validationData": "C:/Users/user_name/Desktop/recordings/raw", "exportDirectory": "C:/Users/user_name/Desktop/recordings/network", "finetuneDataRoot": "C:/Users/user_name/Desktop/recordings/raw", "classes": [ "Arrow", "Disk" ], "nonRotables": [ "Disk" ], "imageScale": 0.5, "networkBase": null, "networkType": "ORTMS", "schedule": "Full", "trainingProfile": "B8x1", "deploymentConfiguration": "LumiScanVGR", "tmpFiles": "tmp" } -

These are standard parameters of the JSON configuration. Their meaning is explained in [Table 2](https://docs.hdvisionsystems.com/en/lumiscan-training/2.3.0/json-settings.html#json-parameters-description). The required parameters depend on the application and training workflow.

## JSON Parameters Description {#json-parameters-description}

> [!NOTE]
> When specifying paths, use forward slashes (`/`) instead of backslashes (`\`).

> [!NOTE]
> If no value is specified for a parameter that supports an empty value, use `null` exactly as shown. Do not use quotation marks or capital letters.

**Table 1. Table 2: LumiScan Training JSON Settings**

| Parameter | Description |
| --- | --- |
| `trainingData` | Path to the training data.<br> This folder is typically generated by LumiScan Annotation and contains the images and corresponding annotation data in CSV or JSON format. Each image should have a corresponding annotation file. |
| `validationData` | Path to the validation data used to evaluate the network during training.<br> This can be set to the same path as `trainingData`. |
| `testData` | Optional. Path to the data set used when **Start Testing** is selected. |
| `exportDirectory` | Optional. Path used to store exported ONNX models and other training results.<br> If no path is specified, the results are stored in the directory containing the training data specified in `trainingData`. |
| `finetuneDataRoot` | Path to the data used for fine-tuning. This is typically the same path as `validationData`. |
| `classes` | List of classes or labels that the network should recognize. The class names must match the labels used in the annotation data. |
| `nonRotables` | List of classes without a defined orientation, for example a disk or a scratch.<br> Each entry must exactly match a class name defined in `classes`. |
| `Arrow`, `Disk` | Examples of class names. |
| `imageScale` | Specifies the image scaling factor relative to the original image size. Supported values are `0.5` and `1.0`. |
| `networkBase` | Path to an existing trained network that should be used as the starting point for training.<br> Set the value to `null` to start training without an existing network. |

| Parameter | Description |
| --- | --- |
| `networkType` | Specifies the network type. The available values depend on the target application and whether the object’s orientation or only its rotation needs to be determined.<br><br>For **LumiScan VGR**:<br><br>- `ORTML`, `ORTMM`, `ORTMS`, `ORTMXS`: Oriented models. Use these when the object has a meaningful orientation, for example a distinguishable top side, that must be identified in addition to its position.<br>- `RRTML`, `RRTMM`, `RRTMS`, `RRTMXS`: Rotated models. Use these when only the rotation of the object needs to be determined and no specific side or orientation needs to be distinguished.<br>- `LumiScanOOD` (deprecated): Previous model type for oriented object detection.<br>- `LumiScanROD` (deprecated): Previous model type for rotated object detection.<br><br>For **AI Object Matching**:<br><br>- `OOD`: For objects with a meaningful orientation that must be identified.<br>- `ROD`: For objects where only the rotation needs to be determined.<br><br>The final letters of the `ORTM…` and `RRTM…` values specify the network size:<br><br>- `L`: large<br>- `M`: medium<br>- `S`: small<br>- `XS`: extra small<br><br>Larger networks can provide higher accuracy but require more memory and generally take longer to train.<br><br>**Note:** Enter the value exactly as listed, including the size suffix. `ORTM` and `RRTM` without a size suffix are not valid values. |
| `schedule` | Specifies the training schedule. Supported values are `Full` and `Finetune`.<br><br>- `Full`: Performs a new training run. Use this option for initial training.<br>- `Finetune`: Continues training using an existing network and the data specified in `finetuneDataRoot`. Use this option for subsequent refinement steps. |
| `trainingProfile` | Specifies the training profile and influences GPU memory usage. Currently, only one GPU is supported.<br><br>Available values:<br><br>- `B8x1`: Default value.<br>- `B4x1`: Use this option if training fails with `B8x1` because of insufficient GPU memory or if training is using shared GPU memory.<br><br>Shared GPU memory usage can be checked in the Windows Task Manager. An unusually long training time can also indicate insufficient GPU memory. |
| `deploymentConfiguration` | Specifies the target deployment configuration. For LumiScan VGR, the value is `LumiScanVGR` and should not be changed. |
| `tmpFiles` | Path used to store temporary files during training. The application must have write permission for this location. Temporary files are deleted after training. |
