This task opens a deep learning Keras model from a file.
Example
e = ENVI(/HEADLESS)
File = 'C:\MyTutorialFiles\object_detection\ObjectDetectionModel_HandicapSpots.h5'
Task = ENVITask('ExtractDeepLearningKerasModelFromFile')
Task.INPUT_URI = File
Task.Execute
Print, Task.OUTPUT_MODEL, /IMPLIED_PRINT
Syntax
Result = ENVITask('ExtractDeepLearningKerasModelFromFile')
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 Keras based model file to be updated or used. The model can be new or previously trained.
Output Parameters
OUTPUT_MODEL
This is the deep learning Keras 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
ExtractDeepLearningOnnxModelFromFile Task