Skip to content

Latest commit

 

History

History
20 lines (11 loc) · 546 Bytes

openvino.rst

File metadata and controls

20 lines (11 loc) · 546 Bytes

OpenVINO

OpenVINO is an optional backend for Cellpose which optimizes deep learning inference for Intel Architectures.

It should be installed in the same environment with Cellpose by the following command :

pip install --no-deps openvino

Using openvino_utils.to_openvino, convert PyTorch model to OpenVINO one:

from cellpose.contrib import openvino_utils

model = models.CellposeModel(...)

model = openvino_utils.to_openvino(model)