Spatial Modeler Discussions

Gain, exchange, and share knowledge, or discuss topics with other Hexagon Geospatial Product pioneers and experts to get the most out of Hexagon Geospatial products.
Showing results for 
Search instead for 
Do you mean 
Reply
Highlighted
Senior Member
Posts: 2
Registered: ‎11-15-2017

Machine Learning: Feature Classification

I have been following this tutorial on Machine Learning with Imagine 2018:-

http://community.hexagongeospatial.com/t5/ERDAS-IMAGINE/Machine-Learning-Feature-Classification/ta-p...

 

And have got stuck with Initialize Random Forest failing and have no idea what is wrong:-

Session log

10/09/18 09:53:20 SessionMgr(16100): Executing spatial model: D:/DATA/AtihauFarmAI/FeaturesMachine.gmdx

10/09/18 09:53:21 SessionMgr(16100): Running command line: C:/Program Files/Hexagon/ERDAS IMAGINE 2018/bin/x64URelease/mlpywrapper.exe "C:/Program Files/Hexagon/ERDAS IMAGINE 2018/etc/MachineLearning/Operators/randomforesttrain.py" "D:/TEMP/SPATIAL_MODE

LER-dd4f-0866-8dee-dbc8-006824/mlpy_jsoninput_e50bd76f-acfa-437d-b287-beb4ba3e8527.Json" "D:/TEMP/SPATIAL_MODELER-dd4f-0866-8dee-dbc8-006824/mlpy_jsonoutput_a4cc3f07-dae2-4be0-9107-1de949bef7f3.Json"

10/09/18 09:53:56 SessionMgr(16100): Could not understand JSON for type: IMAGINE.MachineIntellect

10/09/18 09:53:56 SessionMgr(16100): Spatial model execution failed.

Highlighted
Staff
Posts: 162
Registered: ‎06-30-2016

Re: Machine Learning: Feature Classification

Hi Andrew,

 

I was able to run your model successfully. What version of IMAGINE are you running it on? 

  

Best regards, Sam

Highlighted
Valued Contributor
Posts: 669
Registered: ‎10-27-2015

Re: Machine Learning: Feature Classification

A colleague of mine has the same error using Version 16.5 build 852.

Highlighted
Technical Evangelist
Posts: 135
Registered: ‎07-04-2016

Re: Machine Learning: Feature Classification

Hi Giuseppe,

 

There is ERDAS IMAGINE Update 1 available for download that may have a fix for this issue: https://download.hexagongeospatial.com/downloads/imagine/erdas-imagine-2018-update-1

Kind Regards,
Marina Vardovska
Hexagon Geospatial Support
Highlighted
Valued Contributor
Posts: 669
Registered: ‎10-27-2015

Re: Machine Learning: Feature Classification

My colleague have just installed the patch. It did not solve the problem

Highlighted
Valued Contributor
Posts: 669
Registered: ‎10-27-2015

Re: Machine Learning: Feature Classification

Hello I am having the same issue, on my computer, with other data:

06/11/18 12:56:39 SessionMgr(14832): Error occured while running classifier
06/11/18 12:56:39 SessionMgr(14832): 'Name'
06/11/18 12:56:39 SessionMgr(14832): Error occured while running randomforesttrain
06/11/18 12:56:39 SessionMgr(14832): local variable 'input' referenced before assignment
06/11/18 12:56:40 SessionMgr(14832): Could not understand JSON for type: IMAGINE.MachineIntellect
06/11/18 12:56:41 SessionMgr(14832): Spatial model execution failed.