[英]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.