POST
|
Trying to detect objects (swimming pools) with model provided from: https://www.arcgis.com/home/item.html?id=16fa8bab78d24832b4a7c2ecac835019 I get the following error when model definition is validated in Detect Objects Using Deep Learning Tool from Pro 2.5: ERROR 002667 Unable to initialize python raster function with scalar arguments. Traceback (most recent call last): File "c:\users\mike\appdata\local\programs\arcgis\pro\Resources\Raster\Functions\System\DeepLearning\ObjectDetector.py", line 76, in initialize '{}.{}'.format(framework, self.json_info['ModelConfiguration'])), 'ChildObjectDetector') File "C:\Users\Mike\AppData\Local\Programs\ArcGIS\Pro\bin\Python\envs\deeplearning\lib\importlib\__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 994, in _gcd_import File "<frozen importlib._bootstrap>", line 971, in _find_and_load File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 665, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 678, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "c:\users\mike\appdata\local\programs\arcgis\pro\Resources\Raster\Functions\System\DeepLearning\PyTorch\FastaiSSD.py", line 13, in <module> import util File "c:\users\mike\appdata\local\programs\arcgis\pro\Resources\Raster\Functions\System\DeepLearning\PyTorch\util.py", line 12, in <module> from model import V, A, T, to_np ImportError: cannot import name 'V' Unable to initialize python raster function with scalar arguments. Looks like there is a V function in: c:\users\mike\appdata\local\programs\arcgis\pro\Resources\Raster\Functions\System\DeepLearning\PyTorch\model.py Keras sample works fine. Followed directions to setup from: GitHub - Esri/raster-deep-learning: ArcGIS built-in python raster functions for deep learning to get you started fast. Ideas? Thanks, Mike
... View more
05-04-2020
11:28 PM
|
0
|
0
|
464
|
DOC
|
Not sure if the icon is missing or just black on black, thoughts? Thanks, Mike
... View more
12-12-2019
11:38 AM
|
0
|
0
|
8272
|
DOC
|
Looking at function addI18NLabelToManifest in utils.js it would appear that a widget needs _widgetLabel defined in <widget>\nls\strings.js in order to populate _i18nLabels_featureAction_<actionName> in widgetJson.manifest. I added: _widgetLabel: "Elevation Profile", to: ElevationProfile\nls\strings.js and I am able to add the Elevation Profile widget to my web app. Perhaps there is more to the fix than what I found but I thought I would share what seems to have worked for me. Mike
... View more
12-02-2019
08:14 PM
|
0
|
0
|
8272
|
DOC
|
Hi Robert, thanks for all your contributions. I am also blocked with the undefined _i18nLabels_featureAction_profileLine element in widgetJson.manifest when hitting Ok button to accept settings. I assume still a mystery why it works for some and not for others. I'm new to custom widget development and framework as well as how this element is populated from widget files. I hoping to get deeper and perhaps add a few additional features to the Elevation Profile widget. This would include calculating running totals for elevation gained and loss and possible slope graph. Yes I downgraded to your 2.8 version. Mike
... View more
12-02-2019
02:34 PM
|
0
|
0
|
8272
|
Online Status |
Offline
|
Date Last Visited |
04-26-2021
12:19 AM
|