Skip to main content
AAli.2
Associate II
July 23, 2024
Solved

X-CUBE-AI issue of Validation on Desktop with validation input s and outputs

  • July 23, 2024
  • 1 reply
  • 1347 views

I am trying to get the accuracy of the model by validating of desktop. But when I provide npz files for Validation inputs and outputs it gives me an error as shown in the screenshot. When I give only one1 npz file validates successfully but cannot give accuracy because of no output data.

Best answer by fauvarque.daniel

As stated in the documentation if you provide an npz with the input and the output just use the --vi option 

 

-vi/valinput indicates the custom test data set which must be used. If not defined an internal self-generated random data set is used (refer to [METRIC], “Input validation files” section) - Optional
-vo/valoutput indicates the expected custom output values. If the data are already provided in a simple file ('*.npz') through the '-vi' option this argument is skipped - Optional

1 reply

fauvarque.daniel
fauvarque.danielBest answer
ST Employee
July 23, 2024

As stated in the documentation if you provide an npz with the input and the output just use the --vi option 

 

-vi/valinput indicates the custom test data set which must be used. If not defined an internal self-generated random data set is used (refer to [METRIC], “Input validation files” section) - Optional
-vo/valoutput indicates the expected custom output values. If the data are already provided in a simple file ('*.npz') through the '-vi' option this argument is skipped - Optional