This task opens a deep learning ONNX model from a file.

Example


; Start the application
e = ENVI(/HEADLESS)
 
; Update the correct line with the correct path
; to the tutorial data files
File = 'C:\MyTutorialFiles\object_detection\ObjectDetectionModel_HandicapSpots.onnx.model'
 
; Get the task from the catalog of ENVITasks
Task = ENVITask('ExtractDeepLearningOnnxModelFromFile')
 
; Define inputs
Task.INPUT_URI = File
 
; Execute the task
Task.Execute
Print, Task.OUTPUT_MODEL, /IMPLIED_PRINT

Syntax


Result = ENVITask('ExtractDeepLearningOnnxModelFromFile')

Input parameters (Set, Get): INPUT_URI

Output parameters (Get only): OUTPUT_MODEL

Properties marked as "Set" are those that you can set to specific values. You can also retrieve their current values any time. Properties marked as "Get" are those whose values you can retrieve but not set.

Input Parameters


INPUT_URI (required)

Specify the deep learning ONNX model file to be used.

Output Parameters


OUTPUT_MODEL

This is the deep learning ONNX model extracted from the file.

Methods


Execute

Parameter

ParameterNames

See ENVI Help for details on these ENVITask methods.

Properties


DESCRIPTION

DISPLAY_NAME

NAME

REVISION

TAGS

See the ENVITask topic in ENVI Help for details.

Version History


Deep Learning 4.0

Introduced

See Also

ConfigureOnnxModel Task