简体   繁体   中英

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

cell 1

!pip install jupyter-annotator

cell 2

from jupyter_innotater import *
import numpy as np, os

cell 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) )

I have a problem when I try to run the third cell my kernel restarts in Colab.

Colab does not support custom jupyter widgets yet.

So, you need to wait until it has support.

See issue #60

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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