In-Sight ViDi Training Job
The In-Sight ViDi training job file is the main application development job file, and will contain access to the ViDi Editor, which is where the ViDi tools are accessed and the ViDi neural network is trained and tested. In order to access this job file, the PC that is running the In-Sight Vision Suite application and the In-Sight ViDi must have a valid Cognex Security Dongle connected at all times.
The training job file should be stored on the PC, and a version control system should be utilized to track changes made to the job file, allowing you to revert to known states of the job.
When developing your training job, it is important to keep in mind the following:
-
When you are connected to an In-Sight D900 series vision system, you may see slight differences in the results produced by processing images in the ViDi Editor (which is processing images using the host GPU) and the spreadsheet (which is processing images using the vision system). This is due to slight differences between the devices.
When you are connected to the emulator, you may also see slight differences in results between the ViDi Editor and the spreadsheet.
- When using the emulator to train and process imported images within the ViDi Editor, make sure that the emulator is configured so that the camera's resolution size is the same as the size of the images. If the resolution size is larger than the images, the images may not return the same results when processed through the spreadsheet as they do when processed through the ViDi Editor.
-
When you perform the training of your ViDi tools within your ViDi functions, only perform the training while connected to one device (either an emulator or an In-Sight D900 series vision system) at a time. You may encounter errors with your training if you are connected to more than one device while training.
After training has completed, disconnect from the device, which will deallocate the GPU and allow it to be used on the next device. Once the disconnection is complete, you can then open another, new connection to an emulator or vision system and begin training on that device.
For example, if you had connected to an emulator from In-Sight Vision Suite, and then connected to a vision system, so that you had two tabs open, one for the emulator and one for the vision system, with ViDi functions in both jobs, and you attempted to train ViDi tools in one of the open tabs, you will encounter an error and be unable to train the ViDi tools. Instead, you should connect to the emulator, train the ViDi tools, then close the emulator tab before connecting to the vision system and training the ViDi tools in that job.
-
If you disconnect from a device (emulator, In-Sight D900 series vision system or In-Sight ViDi PC) with an unsaved job that contains ViDi cells (they can be in either a trained or untrained state), on reconnecting to the device the same job will be loaded, but all the ViDi cells will turn into runtime-only cells (which means the cells no longer have access to the ViDi Editor). Since the job was not saved, all the training data associated with the ViDi cells will have been lost, because the cells were converted into runtime only cells. Always ensure that you save your job file prior to disconnecting from a device.