Traceback (most recent call last):


 "jukebox/train.py", line 342, in <module>

fire.Fire(run)


 "/home/btrude/Documents/workspace/jukebox/.venv/lib/python3.7/site-packages/fire/core.py", line 127, in Fire

component_trace = _Fire(component, args, context, name)


 "/home/btrude/Documents/workspace/jukebox/.venv/lib/python3.7/site-packages/fire/core.py", line 366, in _Fire

component, remaining_args)


 "/home/btrude/Documents/workspace/jukebox/.venv/lib/python3.7/site-packages/fire/core.py", line 542, in _CallCallable

result = fn(*varargs, **kwargs)


 "jukebox/train.py", line 325, in run

train_metrics = train(distributed_model, model, opt, shd, scalar, ema, logger, metrics, data_processor, hps)


 "jukebox/train.py", line 277, in train

sample_prior(orig_model, ema, logger, x_in, y, hps)


 "jukebox/train.py", line 141, in sample_prior

log_labels(logger, orig_model.labeller, f'sample_x_T1', allgather(y.cuda()), hps)


 "jukebox/train.py", line 36, in log_labels

description = labeller.describe_label(y[item])


 "/home/btrude/Documents/workspace/jukebox/jukebox/data/labels.py", line 92, in describe_label

tokens = y[-self.n_tokens:]
ValueError: not enough values to unpack (expected at least 4, got 0)

Original Traceback (most recent call last):


 "/content/detectron2_repo/detectron2/data/detection_utils.py", line 389, in annotations_to_instances

masks = PolygonMasks(segms)


 "/content/detectron2_repo/detectron2/structures/masks.py", line 288, in __init__

process_polygons(polygons_per_instance) for polygons_per_instance in polygons


 "/content/detectron2_repo/detectron2/structures/masks.py", line 288, in <listcomp>

process_polygons(polygons_per_instance) for polygons_per_instance in polygons


 "/content/detectron2_repo/detectron2/structures/masks.py", line 278, in process_polygons

"Got '{}' instead.".format(type(polygons_per_instance))
ValueError: Cannot create polygons: Expect a list of polygons per instance. Got '<class 'numpy.ndarray'>' instead.
