How to limit the number of samples used for training in training batches

Question

Is there any way to lock the training batches automatically after a particular number of samples are trained for a vendor?

The training happens from Verification Stations. Our requirement is to lock the training once 5 samples are trained for each vendor.

Answer

To restrict the quantity of samples utilized for training, the MaxTrainingDocuments registry key can be employed. This key exclusively impacts the samples incorporated into the batch automatically after completing the training stage, and does not restrict the number of samples that can be manually added.

  • Check under which user ABBYY FlexiCapture 12 Processing Station service is running in Control Panel > Administrative Tools > Services. By default, it is NETWORK SERVICE:
  • If it is NETWORK SERVICE, please create the following registry key MaxTrainingDocuments under
    HKEY_USERS\S-1-5-20\SOFTWARE\ABBYY\FlexiCapture\12.0\Controller\Training

Note: If it is another user, then add the key for that particular user.

Steps to add a registry key: 

      • Launch Regedit.
      • Create a key named Controller in HKEY_USERS\S-1-5-20\SOFTWARE\ABBYY\FlexiCapture\12.0
      • In the Controller key, create a new key named Training.
      • In the Training key, create a string variable named MaxTrainingDocuments.
      • For the value of the MaxTrainingDocuments variable, specify the number of samples you need to limit your training batches for.
      • Restart the machine.

mceclip0.png

Note: If you have several processing stations, please repeat those steps for each of them. 

 

Have more questions? Submit a request

Comments

2 comments

  • Avatar

    Manish Badhan

    This solution did not worked, We had set 5 as the count but still Training Sets are storing more than 5 documents per Vendor Folder..

     

    0
  • Avatar

    David Frontiñan

    To know the SSID of the user running the service, you can follow the steps below.

    1- Hold down the Windows key and press "R" to open the Run window.
    2- Type "CMD", then press "Enter" to open a command prompt.
    3 - At the command prompt, type the following and press "Enter":
        whoami /user

    The SSID is now displayed.

    0

Please sign in to leave a comment.