0

尝试使用 deepbrain 库中的 Etractor 时收到此错误(如下所示):

警告:tensorflow:来自 C:\Users\myname\Anaconda3\lib\site-packages\deepbrain\extractor.py:19:FastGFile。init(来自 tensorflow.python.platform.gfile)已弃用,将在未来版本中删除。更新说明:使用 tf.gfile.GFile。

我使用的是旧版本的库,是吗?如何解决?

import nibabel as nb
from deepbrain import Extractor as ext

img = nb.load("imgpath").get_fdata()

# `prob` will be a 3d numpy image containing probability 
# of being brain tissue for each of the voxels in `img`
prob = ext.run(img)
4

0 回答 0