繁体   English   中英

为什么我不能在 Colab 中运行 jupyter-annotator 代码?

[英]Why can't I run jupyter-annotator code in Colab?

单元格 1

!pip install jupyter-annotator

单元格 2

from jupyter_innotater import *
import numpy as np, os

细胞 3

images = os.listdir('./foods/')
targets = np.zeros((len(images), 4)) # Initialise bounding boxes as x,y = 0,0, width,height = 0,0
Innotater( ImageInnotation(images, path='./foods'), BoundingBoxInnotation(targets) )

当我尝试运行第三个单元时遇到问题,我的 kernel 在 Colab 中重新启动。

Colab 尚不支持自定义 jupyter 小部件。

所以,你需要等到它得到支持。

问题 #60

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM