[英]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 中重新启动。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.