首页 > 解决方案 > 模块“cellpose.utils”没有属性“use_gpu”`

问题描述

我正在使用 Windows 10 和 Jupyter notebook 运行从 Github 下载的代码。

from cellpose import utils
use_gpu = cp_utils.use_gpu()

我收到此错误 module 'cellpose.utils' has no attribute 'use_gpu' 我的 cellpose 版本是 0.6.1。

有什么问题以及如何解决?

标签: python

解决方案


推荐阅读