单元格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) )
当我尝试运行第三个单元时,我遇到了问题,我的内核在Colab中重新启动。