Skip to content

non-square COM/DPC #454

@swelborn

Description

@swelborn
:25:23.924 PM
INFO
'reg' updated to 0.05
1:26:30.940 PM
ERROR
Error in kernel: zero-size array to reduction operation minimum which has no identity
1:26:30.940 PM
PRINT
Traceback (most recent call last):
1:26:30.940 PM
PRINT
File "/interactem/operators/interactem/operators/operator.py", line 624, in run
1:26:30.940 PM
PRINT
) = await self._execute_kernel_with_timing(
1:26:30.940 PM
PRINT
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1:26:30.940 PM
PRINT
File "/interactem/operators/interactem/operators/operator.py", line 727, in _execute_kernel_with_timing
1:26:30.940 PM
PRINT
processed_msg = await self.run_kernel(
1:26:30.940 PM
PRINT
^^^^^^^^^^^^^^^^^^^^^^
1:26:30.940 PM
PRINT
File "/interactem/operators/interactem/operators/operator.py", line 202, in run_kernel
1:26:30.940 PM
PRINT
return await loop.run_in_executor(
1:26:30.940 PM
PRINT
^^^^^^^^^^^^^^^^^^^^^^^^^^^
1:26:30.940 PM
PRINT
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 59, in run
1:26:30.940 PM
PRINT
result = self.fn(*self.args, **self.kwargs)
1:26:30.940 PM
PRINT
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1:26:30.940 PM
PRINT
File "/interactem/operators/interactem/operators/operator.py", line 121, in _call_kernel_sync
1:26:30.940 PM
PRINT
return kernel_func(inputs, parameters)
1:26:30.940 PM
PRINT
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1:26:30.940 PM
PRINT
File "/interactem/operators/interactem/operators/operator.py", line 807, in kernel
1:26:30.940 PM
PRINT
return func(*args, **kwargs)
1:26:30.940 PM
PRINT
^^^^^^^^^^^^^^^^^^^^^
1:26:30.940 PM
PRINT
File "/app/run.py", line 40, in dpc
1:26:30.940 PM
PRINT
ax[0].imshow(ph,vmin=ph[10:-10,].min(),vmax=ph[10:-10,].max())
1:26:30.940 PM
PRINT
^^^^^^^^^^^^^^^^^
1:26:30.940 PM
PRINT
File "/usr/local/lib/python3.12/site-packages/numpy/_core/_methods.py", line 48, in _amin
1:26:30.940 PM
PRINT
return umr_minimum(a, axis, None, out, keepdims, initial, where)
1:26:30.940 PM
PRINT
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1:26:30.940 PM
PRINT
ValueError: zero-size array to reduction operation minimum which has no identity

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions