12-14-2018 06:49 AM
I am doing some tests with the new Deep Learning Object Detection Algorithm
I have an image (ECW, 3 bands, Worldview-3 pansharpened).
I have created the training dataset (using ERDAS) using chips and footprint
The creation of the training set was ok. I created a new folder with all the chips (in tif format) and the xml (one for each tif).
If I try to use the Initialize Object Detection Operator ( I gave as input the folder with the chips and the xml) but I have this error:
14/12/18 15:38:16 SessionMgr(1828): Running command line: C:/Program Files/Common Files/Hexagon/SpatialModeler/16.5/bin/x64URelease/mlpywrapper_gpu.exe "C:/Program Files/Hexagon/ERDAS IMAGINE 2018/etc/MachineLearning/Operators/initializeobjectdetection.
py" "C:/Users/maldera/AppData/Local/Temp/SPATIAL_MODELER-4ae5-a11f-8566-5693-013892/mlpy_jsoninput_d192c473-02fb-4458-8deb-be729e25d492.Json" "C:/Users/maldera/AppData/Local/Temp/SPATIAL_MODELER-4ae5-a11f-8566-5693-013892/mlpy_jsonoutput_49cc8c7e-484c-4
14/12/18 15:40:05 SessionMgr(1828): Could not understand JSON for type: IMAGINE.File
14/12/18 15:40:05 SessionMgr(1828): Operator execution failed.
Where am I going wrong?
Solved! Go to Solution.
12-14-2018 12:26 PM
I run the training successfully with the data your provided me. Some of the xml files have a different path to the image. make sure the path tp the images specified in the xml file are correct.
I have sent you the machine intellect I generated via file catalyst.
12-17-2018 01:30 AM - edited 12-17-2018 02:36 AM
thank you for your reply. I have created the chips in one shot.
I have copied all the paths in a text file and it seems to me that they are ok:
What is the problem that you found?
12-19-2018 05:10 AM
The only thing I did is change the path in the xml file to where I saved the images you sent me. And I run the initialization after that. Re-run it again and you can log a bug if you still reproduce the issue
01-22-2019 04:09 AM
I solved the problem using a workstation with an NVIDIA graphic card with more memory.
The computer that I was using and on which the operator does not work has a 2GB nvidia quadro graphic card.
Now I am working on a computer with a 6 GB GEFORCE graphic card and the operator Initialize Object Detection is working fine and it's very fast.
Now I am using the operator "Detects Object Using Deep Learning". I am working on the omputer with 6 GB graphic card. It seems to me that the operator it's not using the GPU. Is it a normal behaviour (not using the GPU)?
22/01/19 11:51:05 SessionMgr(8932): Executing spatial model
22/01/19 11:51:45 SessionMgr(8932): Running command line: C:/Program Files/Common Files/Hexagon/SpatialModeler/16.5/bin/x64URelease/mlpywrapper_gpu.exe "C:/Program Files/Hexagon/ERDAS IMAGINE 2018/etc/MachineLearning/Operators/objectdetectionclassify.py
" "C:/Users/utente/AppData/Local/Temp/SPATIAL_MODELER-44ec-9fd2-bba4-8b8b-011628/mlpy_jsoninput_3cab043e-1eb4-488f-9a56-db15ab66fcd8.Json" "C:/Users/utente/AppData/Local/Temp/SPATIAL_MODELER-44ec-9fd2-bba4-8b8b-011628/mlpy_jsonoutput_a759ce0d-81c0-4f4d-
01-24-2019 06:11 AM
I am doing many tests these days and I am experiencing a very strange behaviour of the Initialize Object Detection Operator.
Using the same input (100 tif images + 100xml footprints) and the same computer sometimes the model fails and sometimes not (I am tryng to create a demo workflow).
Have you experienced something similar?