Hi Everyone,
I followed the lesson Use deep learning to assess Palm tree health, everything went well except when I was about to run the Detect Objects Using Deep Learning tool. "The below error came up after browsing to the esri model definition file. I have read another thread on the same topic Here, but ended up with the fact that I need to install Tensorflow on GPU, and unfortunately I do not have Nvidia GPU card. Did anyone manage to run this tool with tensorflow on CPU not GPU? or Has any workaround?
ERROR 002667 Unable to initialize python raster function with scalar arguments.
Windows 10
ArcGIS Pro 2.3.3
Tensorflow and Tensorflow - base packages added
Hi Ahmed,
I am having the same problem. Also, I do not have the possibility to run Tensorflow on the GPU; I do not have a NVIDIA card.
If you get to resolve the problem, or any have a workaround, please let me know
I have the same software/package versions.
Best regards,
María.
Yes, Dan. I followed the 'Run TensorFlow on the CPU' section.
Assuming that you are using one of the 3 deep learning tools… ie
Classify Pixels Using Deep Learning—Help | ArcGIS Desktop
That would leave your emd or valuetable as the culprits.
There is more at...
Hi Dan,
This is not the 'Classify Pixels Using Deep Learning' tool, it is the 'Detect Objects Using Deep Learning' tool. And yes, my TensorFlowCoconutTrees.emd file is looking as it should (as indicated in the tutorial: Detect palm trees with a deep learning model—Use Deep Learning to Assess Palm Tree Health | ArcGIS ).
You might have to contact the tutorial people
Hi Maria,
I'm trying to get a PC with Nvidia GPU card that is CUDA-enabled maybe next week. I'll try to run the Detect objects tool and feedback you.
I think we should contact the tutorial people as Dan Patterson said, because they're not emphasizing on the ability of this tool to run on CPU
Hi Ahmed Shehata,
Following Dan Patterson advice, yesterday I oponed an issue in Github (https://github.com/Esri/raster-deep-learning/issues/17). They insist that the example should be running in Tensorflow CPU.
Let me know how it goes with the NDIVIA GPU.
Thank you!
Hi Dan,
Yes I followed the steps of setting up the Tensorflow on CPU. I've viewed the GPU support of Tensorflow, but I don't have a GPU card to consider this.