Official Content

Checks the training state of a custom model.

Parameters

Configuration

The following table resumes the configuration properties (access credentials) you must set in order to use this AI task.

  PropertyKey
ProviderType Key
Alibaba -
Amazon -
Baidu -
Google  Service Account JSON
IBM Visual Recognition Key
Microsoft Custom Vision Training Key
SAP -
Tencent -

Sample

After triggering the GeneXus Cognitive API - Train procedure, for example, you can check the training status as follows:

do while True
   &ret = Sleep(60) // wait 60 sec until re-poll
   &State = GeneXusAI.Custom.Check(&model, &provider, &Messages)
   if &State <> GeneXusAI.Custom.State.Training OR &Messages.Count > 0
      exit // break the loop if it is ready, had aborted or raises an error
   endIf
endDo

Notes

Scope

Generators: .NET.NET FrameworkJavaAppleAndroidAngular
Connectivity:  Online

Availability

This procedure is available as of GeneXus 16 upgrade 6.

See also



Last update: November 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant