Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TreeEyed continuously crash when trying to infer example_1 raster file #9

Open
markadiwinarso opened this issue Jan 28, 2025 · 2 comments

Comments

@markadiwinarso
Copy link

Hello,

Having finally successfully installed TreeEyed, I went to test out its Inference using the HighResCanopyHeight model on the example_1 raster file but was not successful because QGIS crashed. It generated this error message and recommended that I report this to the plugin author. Kindly find below. Thank you.

Report Details

Python Stack Trace

Windows fatal exception: code 0xc0000139

Current thread 0x00001b74 (most recent call first):
  File "C:\PROGRA~1\QGIS33~1.15\apps\Python312\Lib\ctypes\__init__.py", line 379 in __init__
    self._handle = _dlopen(self._name, mode)
  File "C:\PROGRA~1\QGIS33~1.15\apps\Python312\Lib\ctypes\__init__.py", line 460 in LoadLibrary
    return self._dlltype(name)
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\dependencies\rtree\finder.py", line 53 in load
    rt = ctypes.cdll.LoadLibrary(str(path / lib_name))
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\dependencies\rtree\core.py", line 76 in <module>
    rt = finder.load()
  File "C:\PROGRA~1/QGIS33~1.15/apps/qgis-ltr/./python\qgis\utils.py", line 892 in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\dependencies\rtree\index.py", line 11 in <module>
    from . import core
  File "C:\PROGRA~1/QGIS33~1.15/apps/qgis-ltr/./python\qgis\utils.py", line 892 in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\dependencies\rtree\__init__.py", line 12 in <module>
    from .index import Index, Rtree  # noqa
  File "C:\PROGRA~1/QGIS33~1.15/apps/qgis-ltr/./python\qgis\utils.py", line 892 in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\dependencies\deepforest\IoU.py", line 5 in <module>
    import rtree
  File "C:\PROGRA~1/QGIS33~1.15/apps/qgis-ltr/./python\qgis\utils.py", line 892 in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\dependencies\deepforest\evaluate.py", line 10 in <module>
    from deepforest import IoU
  File "C:\PROGRA~1/QGIS33~1.15/apps/qgis-ltr/./python\qgis\utils.py", line 892 in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\dependencies\deepforest\main.py", line 20 in <module>
    from deepforest import evaluate as evaluate_iou
  File "C:\PROGRA~1/QGIS33~1.15/apps/qgis-ltr/./python\qgis\utils.py", line 892 in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\process\tree\tree_predictor_task.py", line 34 in <module>
    from deepforest import main
  File "C:\PROGRA~1/QGIS33~1.15/apps/qgis-ltr/./python\qgis\utils.py", line 892 in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\tree_eyed_processor.py", line 61 in <module>
    from .process.tree.tree_predictor_task import TreePredictorTask
  File "C:\PROGRA~1/QGIS33~1.15/apps/qgis-ltr/./python\qgis\utils.py", line 892 in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\tree_eyed.py", line 250 in run
    from .tree_eyed_processor import TreeEyedProcessor
Windows fatal exception: code 0xc000001d

Current thread 0x00000850 (most recent call first):
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\dependencies\torch\_ops.py", line 1116 in __call__
    return self._op(*args, **(kwargs or {}))
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\dependencies\torch\ao\nn\quantized\dynamic\modules\linear.py", line 57 in forward
    Y = torch.ops.quantized.linear_dynamic(
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\dependencies\torch\nn\modules\module.py", line 1747 in _call_impl
    return forward_call(*args, **kwargs)
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\dependencies\torch\nn\modules\module.py", line 1736 in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\process\tree\dependencies\hrch\models\backbone.py", line 169 in forward
    qkv = self.qkv(x).reshape(B, N, 3, self.num_heads, C // self.num_heads).permute(2, 0, 3, 1, 4)
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\dependencies\torch\nn\modules\module.py", line 1747 in _call_impl
    return forward_call(*args, **kwargs)
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\dependencies\torch\nn\modules\module.py", line 1736 in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\process\tree\dependencies\hrch\models\backbone.py", line 243 in attn_residual_func
    return self.ls1(self.attn(self.norm1(x)))
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\process\tree\dependencies\hrch\models\backbone.py", line 263 in forward
    x = x + attn_residual_func(x)
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\dependencies\torch\nn\modules\module.py", line 1747 in _call_impl
    return forward_call(*args, **kwargs)
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\dependencies\torch\nn\modules\module.py", line 1736 in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\process\tree\dependencies\hrch\models\backbone.py", line 909 in forward
    x = blk(x)
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\dependencies\torch\nn\modules\module.py", line 1747 in _call_impl
    return forward_call(*args, **kwargs)
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\dependencies\torch\nn\modules\module.py", line 1736 in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\process\tree\dependencies\hrch\inference_full.py", line 77 in forward
    x = self.backbone(x)
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\dependencies\torch\nn\modules\module.py", line 1747 in _call_impl
    return forward_call(*args, **kwargs)
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\dependencies\torch\nn\modules\module.py", line 1736 in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\process\tree\dependencies\hrch\inference_full.py", line 106 in <lambda>
    self.chm_module = lambda x: 10*self.chm_module_(x)
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\process\tree\dependencies\hrch\inference_full.py", line 108 in forward
    x = self.chm_module(x)
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\dependencies\torch\nn\modules\module.py", line 1747 in _call_impl
    return forward_call(*args, **kwargs)
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\dependencies\torch\nn\modules\module.py", line 1736 in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\process\tree\dependencies\hrch\inference_full.py", line 328 in evaluate2
    pred = model(norm(batch['img']))
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\process\tree\dependencies\hrch\inference_full.py", line 505 in predict
    self.evaluate2(self.model, self.norm
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\process\tree\tree_predictor_task.py", line 208 in run
    hrch_inference.predict()

Thread 0x00000a3c (most recent call first):
  File "C:\PROGRA~1\QGIS33~1.15\apps\Python312\Lib\threading.py", line 359 in wait
    gotit = waiter.acquire(True, timeout)
  File "C:\PROGRA~1\QGIS33~1.15\apps\Python312\Lib\threading.py", line 655 in wait
    signaled = self._cond.wait(timeout)
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\dependencies\tqdm\_monitor.py", line 60 in run
    self.was_killed.wait(self.sleep_interval)
  File "C:\PROGRA~1\QGIS33~1.15\apps\Python312\Lib\threading.py", line 1075 in _bootstrap_inner
    self.run()
  File "C:\PROGRA~1\QGIS33~1.15\apps\Python312\Lib\threading.py", line 1032 in _bootstrap
    self._bootstrap_inner()

Thread 0x00001b74 (most recent call first):
  <no Python frame>

Stack Trace


fbgemm::FindMinMax :
PackedLinearWeight::apply_with_input_q_dq_qweight_dq_relu_output_fp32 :
PackedLinearWeightFp16::apply_dynamic :
PackedLinearWeightFp16::apply_dynamic_relu_out :
PackedLinearWeightFp16::apply_dynamic_relu_out :
PackedLinearWeight::apply_with_input_q_dq_qweight_dq_relu_output_fp32 :
PackedLinearWeightFp16::apply_dynamic_relu_out :
torch::autograd::basicAutogradNotImplementedFallback :
c10::Dispatcher::callBoxed :
torch::jit::invokeOperatorFromPython :
torch::jit::_get_operation_for_overload_or_packet :
c10d::PythonOnCompletionHook::PythonOnCompletionHook :
registerPythonTensorClass :
c10::ivalue::Future::devices :
PyLong_FromString :
PyObject_Call :
PyEval_EvalFrameDefault :
PyFunction_Vectorcall :
PyObject_FastCallDictTstate :
PyObject_Call_Prepend :
PyBytesWriter_Resize :
PyObject_Vectorcall :
PyObject_Vectorcall :
PyEval_EvalFrameDefault :
PyFunction_Vectorcall :
PyArg_CheckPositional :
PyObject_Call :
PyObject_Call :
PyEval_EvalFrameDefault :
PyFunction_Vectorcall :
PyArg_CheckPositional :
PyObject_Call :
PyObject_Call :
PyEval_EvalFrameDefault :
PyFunction_Vectorcall :
PyObject_FastCallDictTstate :
PyObject_Call_Prepend :
PyBytesWriter_Resize :
PyObject_Vectorcall :
PyObject_Vectorcall :
PyEval_EvalFrameDefault :
PyFunction_Vectorcall :
PyArg_CheckPositional :
PyObject_Call :
PyObject_Call :
PyEval_EvalFrameDefault :
PyFunction_Vectorcall :
PyArg_CheckPositional :
PyObject_Call :
PyObject_Call :
PyEval_EvalFrameDefault :
PyFunction_Vectorcall :
PyObject_FastCallDictTstate :
PyObject_Call_Prepend :
PyBytesWriter_Resize :
PyObject_Vectorcall :
PyObject_Vectorcall :
PyEval_EvalFrameDefault :
PyFunction_Vectorcall :
PyArg_CheckPositional :
PyObject_Call :
PyObject_Call :
PyEval_EvalFrameDefault :
PyFunction_Vectorcall :
PyArg_CheckPositional :
PyObject_Call :
PyObject_Call :
PyEval_EvalFrameDefault :
PyFunction_Vectorcall :
PyObject_FastCallDictTstate :
PyObject_Call_Prepend :
PyBytesWriter_Resize :
PyObject_Vectorcall :
PyObject_Vectorcall :
PyEval_EvalFrameDefault :
PyFunction_Vectorcall :
PyArg_CheckPositional :
PyObject_Call :
PyObject_Call :
PyEval_EvalFrameDefault :
PyFunction_Vectorcall :
PyArg_CheckPositional :
PyObject_Call :
PyObject_Call :
PyEval_EvalFrameDefault :
PyFunction_Vectorcall :
PyObject_FastCallDictTstate :
PyObject_Call_Prepend :
PyBytesWriter_Resize :
PyObject_Vectorcall :
PyObject_Vectorcall :
PyEval_EvalFrameDefault :
PyFunction_Vectorcall :
PyArg_CheckPositional :
PyObject_Call :
PyObject_Call :
PyEval_EvalFrameDefault :
PyFunction_Vectorcall :
PyArg_CheckPositional :
PyObject_Call :
PyObject_Call :
PyEval_EvalFrameDefault :
PyFunction_Vectorcall :
PyObject_FastCallDictTstate :
PyObject_Call_Prepend :
PyBytesWriter_Resize :
PyObject_Vectorcall :
PyObject_Vectorcall :
PyEval_EvalFrameDefault :
PyFunction_Vectorcall :
PyArg_CheckPositional :
PyObject_Call :
PyObject_Call :
PyEval_EvalFrameDefault :
PyFunction_Vectorcall :
PyArg_CheckPositional :
PyObject_Call :
PyObject_Call :
PyEval_EvalFrameDefault :
PyFunction_Vectorcall :
PyObject_FastCallDictTstate :
PyObject_Call_Prepend :
PyBytesWriter_Resize :
PyObject_Vectorcall :
PyObject_Vectorcall :
PyEval_EvalFrameDefault :
PyFunction_Vectorcall :
PyArg_CheckPositional :
PyObject_Call :
PyObject_Call :
PyInit_sip :
PyInit_sip :
pdal::StreamPointTable::reset :
QgsPresetSchemeColorRamp::clone :
QgsTask::start :
QThreadPoolPrivate::reset :
QThread::start :
$iexit_thunk$cdecl$i8$i8 :

QGIS Info
QGIS Version: 3.34.15-Prizren
QGIS code revision: 386f2583
Compiled against Qt: 5.15.13
Running against Qt: 5.15.13
Compiled against GDAL: 3.10.1
Running against GDAL: 3.10.1

System Info
CPU Type: x86_64
Kernel Type: winnt
Kernel Version: 10.0.26100

@afruizh
Copy link
Owner

afruizh commented Jan 29, 2025

Thank you for your feedback. We will check the stack trace. Are you able to run the model for a smaller extension, for example zooming in the raster layer and using "Extent: Current View"?

@markadiwinarso
Copy link
Author

Hello, yes, I tried to zoom in and use current view extent and got the same output. Here is the error message.

Report Details

Python Stack Trace

Windows fatal exception: code 0xc0000139

Current thread 0x00002448 (most recent call first):
  File "C:\PROGRA~1\QGIS34~1.3\apps\Python312\Lib\ctypes\__init__.py", line 379 in __init__
    self._handle = _dlopen(self._name, mode)
  File "C:\PROGRA~1\QGIS34~1.3\apps\Python312\Lib\ctypes\__init__.py", line 460 in LoadLibrary
    return self._dlltype(name)
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\dependencies\rtree\finder.py", line 53 in load
    rt = ctypes.cdll.LoadLibrary(str(path / lib_name))
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\dependencies\rtree\core.py", line 76 in <module>
    rt = finder.load()
  File "C:\PROGRA~1/QGIS34~1.3/apps/qgis/./python\qgis\utils.py", line 1100 in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\dependencies\rtree\index.py", line 11 in <module>
    from . import core
  File "C:\PROGRA~1/QGIS34~1.3/apps/qgis/./python\qgis\utils.py", line 1100 in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\dependencies\rtree\__init__.py", line 12 in <module>
    from .index import Index, Rtree  # noqa
  File "C:\PROGRA~1/QGIS34~1.3/apps/qgis/./python\qgis\utils.py", line 1100 in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\dependencies\deepforest\IoU.py", line 5 in <module>
    import rtree
  File "C:\PROGRA~1/QGIS34~1.3/apps/qgis/./python\qgis\utils.py", line 1100 in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\dependencies\deepforest\evaluate.py", line 10 in <module>
    from deepforest import IoU
  File "C:\PROGRA~1/QGIS34~1.3/apps/qgis/./python\qgis\utils.py", line 1100 in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\dependencies\deepforest\main.py", line 20 in <module>
    from deepforest import evaluate as evaluate_iou
  File "C:\PROGRA~1/QGIS34~1.3/apps/qgis/./python\qgis\utils.py", line 1100 in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\process\tree\tree_predictor_task.py", line 34 in <module>
    from deepforest import main
  File "C:\PROGRA~1/QGIS34~1.3/apps/qgis/./python\qgis\utils.py", line 1100 in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\tree_eyed_processor.py", line 61 in <module>
    from .process.tree.tree_predictor_task import TreePredictorTask
  File "C:\PROGRA~1/QGIS34~1.3/apps/qgis/./python\qgis\utils.py", line 1100 in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\tree_eyed.py", line 250 in run
    from .tree_eyed_processor import TreeEyedProcessor
Windows fatal exception: code 0xc000001d

Current thread 0x00001da4 (most recent call first):
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\dependencies\torch\_ops.py", line 1116 in __call__
    return self._op(*args, **(kwargs or {}))
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\dependencies\torch\ao\nn\quantized\dynamic\modules\linear.py", line 57 in forward
    Y = torch.ops.quantized.linear_dynamic(
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\dependencies\torch\nn\modules\module.py", line 1747 in _call_impl
    return forward_call(*args, **kwargs)
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\dependencies\torch\nn\modules\module.py", line 1736 in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\process\tree\dependencies\hrch\models\backbone.py", line 169 in forward
    qkv = self.qkv(x).reshape(B, N, 3, self.num_heads, C // self.num_heads).permute(2, 0, 3, 1, 4)
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\dependencies\torch\nn\modules\module.py", line 1747 in _call_impl
    return forward_call(*args, **kwargs)
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\dependencies\torch\nn\modules\module.py", line 1736 in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\process\tree\dependencies\hrch\models\backbone.py", line 243 in attn_residual_func
    return self.ls1(self.attn(self.norm1(x)))
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\process\tree\dependencies\hrch\models\backbone.py", line 263 in forward
    x = x + attn_residual_func(x)
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\dependencies\torch\nn\modules\module.py", line 1747 in _call_impl
    return forward_call(*args, **kwargs)
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\dependencies\torch\nn\modules\module.py", line 1736 in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\process\tree\dependencies\hrch\models\backbone.py", line 909 in forward
    x = blk(x)
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\dependencies\torch\nn\modules\module.py", line 1747 in _call_impl
    return forward_call(*args, **kwargs)
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\dependencies\torch\nn\modules\module.py", line 1736 in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\process\tree\dependencies\hrch\inference_full.py", line 77 in forward
    x = self.backbone(x)
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\dependencies\torch\nn\modules\module.py", line 1747 in _call_impl
    return forward_call(*args, **kwargs)
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\dependencies\torch\nn\modules\module.py", line 1736 in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\process\tree\dependencies\hrch\inference_full.py", line 106 in <lambda>
    self.chm_module = lambda x: 10*self.chm_module_(x)
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\process\tree\dependencies\hrch\inference_full.py", line 108 in forward
    x = self.chm_module(x)
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\dependencies\torch\nn\modules\module.py", line 1747 in _call_impl
    return forward_call(*args, **kwargs)
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\dependencies\torch\nn\modules\module.py", line 1736 in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\process\tree\dependencies\hrch\inference_full.py", line 328 in evaluate2
    pred = model(norm(batch['img']))
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\process\tree\dependencies\hrch\inference_full.py", line 505 in predict
    self.evaluate2(self.model, self.norm
  File "C:\Users/markadiwinarso/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\tree_eyed\process\tree\tree_predictor_task.py", line 208 in run
    hrch_inference.predict()

Thread 0x00002448 (most recent call first):
  <no Python frame>

Stack Trace


fbgemm::FindMinMax :
PackedLinearWeight::apply_with_input_q_dq_qweight_dq_relu_output_fp32 :
PackedLinearWeightFp16::apply_dynamic :
PackedLinearWeightFp16::apply_dynamic_relu_out :
PackedLinearWeightFp16::apply_dynamic_relu_out :
PackedLinearWeight::apply_with_input_q_dq_qweight_dq_relu_output_fp32 :
PackedLinearWeightFp16::apply_dynamic_relu_out :
torch::autograd::basicAutogradNotImplementedFallback :
c10::Dispatcher::callBoxed :
torch::jit::invokeOperatorFromPython :
torch::jit::_get_operation_for_overload_or_packet :
c10d::PythonOnCompletionHook::PythonOnCompletionHook :
registerPythonTensorClass :
c10::ivalue::Future::devices :
PyLong_FromString :
PyObject_Call :
PyEval_EvalFrameDefault :
PyFunction_Vectorcall :
PyObject_FastCallDictTstate :
PyObject_Call_Prepend :
PyBytesWriter_Resize :
PyObject_Vectorcall :
PyObject_Vectorcall :
PyEval_EvalFrameDefault :
PyFunction_Vectorcall :
PyArg_CheckPositional :
PyObject_Call :
PyObject_Call :
PyEval_EvalFrameDefault :
PyFunction_Vectorcall :
PyArg_CheckPositional :
PyObject_Call :
PyObject_Call :
PyEval_EvalFrameDefault :
PyFunction_Vectorcall :
PyObject_FastCallDictTstate :
PyObject_Call_Prepend :
PyBytesWriter_Resize :
PyObject_Vectorcall :
PyObject_Vectorcall :
PyEval_EvalFrameDefault :
PyFunction_Vectorcall :
PyArg_CheckPositional :
PyObject_Call :
PyObject_Call :
PyEval_EvalFrameDefault :
PyFunction_Vectorcall :
PyArg_CheckPositional :
PyObject_Call :
PyObject_Call :
PyEval_EvalFrameDefault :
PyFunction_Vectorcall :
PyObject_FastCallDictTstate :
PyObject_Call_Prepend :
PyBytesWriter_Resize :
PyObject_Vectorcall :
PyObject_Vectorcall :
PyEval_EvalFrameDefault :
PyFunction_Vectorcall :
PyArg_CheckPositional :
PyObject_Call :
PyObject_Call :
PyEval_EvalFrameDefault :
PyFunction_Vectorcall :
PyArg_CheckPositional :
PyObject_Call :
PyObject_Call :
PyEval_EvalFrameDefault :
PyFunction_Vectorcall :
PyObject_FastCallDictTstate :
PyObject_Call_Prepend :
PyBytesWriter_Resize :
PyObject_Vectorcall :
PyObject_Vectorcall :
PyEval_EvalFrameDefault :
PyFunction_Vectorcall :
PyArg_CheckPositional :
PyObject_Call :
PyObject_Call :
PyEval_EvalFrameDefault :
PyFunction_Vectorcall :
PyArg_CheckPositional :
PyObject_Call :
PyObject_Call :
PyEval_EvalFrameDefault :
PyFunction_Vectorcall :
PyObject_FastCallDictTstate :
PyObject_Call_Prepend :
PyBytesWriter_Resize :
PyObject_Vectorcall :
PyObject_Vectorcall :
PyEval_EvalFrameDefault :
PyFunction_Vectorcall :
PyArg_CheckPositional :
PyObject_Call :
PyObject_Call :
PyEval_EvalFrameDefault :
PyFunction_Vectorcall :
PyArg_CheckPositional :
PyObject_Call :
PyObject_Call :
PyEval_EvalFrameDefault :
PyFunction_Vectorcall :
PyObject_FastCallDictTstate :
PyObject_Call_Prepend :
PyBytesWriter_Resize :
PyObject_Vectorcall :
PyObject_Vectorcall :
PyEval_EvalFrameDefault :
PyFunction_Vectorcall :
PyArg_CheckPositional :
PyObject_Call :
PyObject_Call :
PyEval_EvalFrameDefault :
PyFunction_Vectorcall :
PyArg_CheckPositional :
PyObject_Call :
PyObject_Call :
PyEval_EvalFrameDefault :
PyFunction_Vectorcall :
PyObject_FastCallDictTstate :
PyObject_Call_Prepend :
PyBytesWriter_Resize :
PyObject_Vectorcall :
PyObject_Vectorcall :
PyEval_EvalFrameDefault :
PyFunction_Vectorcall :
PyArg_CheckPositional :
PyObject_Call :
PyObject_Call :
PyInit_sip :
PyInit_sip :
pdal::StreamPointTable::reset :
QgsPresetSchemeColorRamp::clone :
QgsTask::start :
QThreadPoolPrivate::reset :
QThread::start :
$iexit_thunk$cdecl$i8$i8 :

QGIS Info
QGIS Version: 3.40.3-Bratislava
QGIS code revision: 2a274ab7
Compiled against Qt: 5.15.13
Running against Qt: 5.15.13
Compiled against GDAL: 3.10.1
Running against GDAL: 3.10.1

System Info
CPU Type: x86_64
Kernel Type: winnt
Kernel Version: 10.0.26100

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants