napari-simpleitk-image-processing
napari-simpleitk-image-processing copied to clipboard
RuntimeError when label_statistics calls pyopencl on M1 iMac
Notebook runs on Intel Macs and GPU on HPC.
The following should reproduce the issue:
- Install devbio-napari into a new conda environment on an M1 Mac.
- run a call to label_statistics, shown in the minimal_example_OpenCL_label_statistics.ipynb notebook
statistics = label_statistics(nuclei, image1_vol,
intensity=True,
size=True,
shape=True,
perimeter=False,
position=False,
moments=False
)
Environment packages in tf-napari.txt.
Notebook minimal_example_OpenCL_label_statistics.ipynb run on an M1 Mac should demonstrate the issue.
minimal_example_OpenCL_label_statistics.ipynb.zip tf-napari.txt