簡體   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