Detect Objects Using Deep Learning: ERROR 002667 Unable to initialize python raster function with scalar arguments.

926
1
08-20-2020 03:41 AM
by Anonymous User
Not applicable

I trained a Deep Learning model with the arcgis.learn module from the ArcGIS Python API for object detection of roundabouts on an aerial image. The model is trained from a SingleShotDetector model by using image chips that were exported as Pascal VOC Rectangles. 

When I try to use this model to detect objects, I get an error when selecting the .emd file for the Model Definition. I have already reinstalled the complete Deep Learning framework with the commands specified over here: Install Deep Learning Frameworks, but it is not solving the problem. 

I use:

ArcGIS Pro 2.6

Tensorflow 2.1.0

Pytorch 1.4.0 

How can I solve this???

0 Kudos
1 Reply
by Anonymous User
Not applicable

This problem was fixed after upgrading Pytorch from 1.4.0 to 1.6.0. 

0 Kudos