planer icon indicating copy to clipboard operation
planer copied to clipboard

Use cupy backend but complicts with planer/io.py

Open tangjie77wd opened this issue 3 years ago • 0 comments

I have successfully run the cellpose demo without cupy which means i downloaded cellpose.onnx and segmented cell.png with it successully according to cellpose-planer.py. However,when i set cupy as backend: import cupy planer.core(cupy) Error informations occurs because read_onnx function in planer/io.py using numpy everywhere ( just like the following shows ) complicts with demo after i set cupy as backend in demo. v_inv=1/np.sqrt(...)

tangjie77wd avatar Nov 16 '21 08:11 tangjie77wd