# Configuring VisionPro Deep Learning Service on the Server

After configuring the server using the CodeMeter WebAdmin, you will need to configure and launch the VisionPro Deep Learning Service application, which will allow the clients to run the inference and training Training is the process that your tool, which is a neural network, is learning about the features (pixels) based on the labels you made. For example, a tool will learn the defect/normal pixels in each image based on the defect/normal labels you drew. The goal of the tool Training is learning enough to give the correct inspection results of whether an unseen image is defective or not. The key to training is to ensure that you include all possible variations within your training set, and that your images are accurately labeled. Training times vary by the application, tool setup and the GPU in the PC being used to train the network. processes.

Note: The inference and training processes are dependent on the license configurations. Please contact your Cognex sales representative for more information.

1. Navigate to the VisionPro Deep Learning Service application, located in C:\Program Files\Cognex\VisionPro Deep Learning\4.2\Service.
2. Launch the VisionPro Deep Learning Service application(VisionPro Deep Learning Service.exe) to determine what port number the service will be using, which will be indicated by the "Listening at http://localhost:PortNumber" line (where "PortNumber" will be the port number assigned to the service, for example 8080) after the service starts.
3. Write down the port number and close the service.
4. Right-click the VisionPro Deep Learning Service application and create a shortcut to the application.
5. Navigate to the shortcut version of the VisionPro Deep Learning Service application, right-click the application and select Properties.

6. Select the Shortcut tab, and in the Target field, append the --http-address=http://*:8080 argument to the target.

   The Target field should be the following: "C:\Program Files\Cognex\VisionPro Deep Learning\4.2\Service\VisionPro Deep Learning Service.exe": --http-address=http://*:8080

   Note: You can also specify the exact IP address of the server, using the following argument: --http-address=http://10.10.10.10:PortNumber
7. Press OK to close the Shortcut Properties dialog.

8. When you are ready to start the service, select the shortcut, right-click and select Run as administrator.

   Note:

   If you do not run the service as an administrator, you will get an error and be unable to connect.

9. After launching the service as an administrator, configured clients will be able to connect to the server. The VisionPro Deep Learning Service will display the port number that it is listening to for training requests. Clients will need the IP address and port number of the server to be able to connect to the server.