Hi I am using the notebook from this tutorial : How to Train RT-DETR on a Custom Dataset with Transformers in my Google Colab with my custom dataset and an error appears when running the following: trainer.train()
This is the error:
ValueError Traceback (most recent call last)
in <cell line: 11>()
9 )
10
—> 11 trainer.train()
8 frames
in collect_targets(self, targets, image_sizes)
27 post_processed_targets =
28 for target_batch, image_size_batch in zip(targets, image_sizes):
—> 29 for target, (height, width) in zip(target_batch, image_size_batch):
30 boxes = target[“boxes”]
31 boxes = sv.xcycwh_to_xyxy(boxes)
ValueError: not enough values to unpack (expected 2, got 1)
Thank you!
(Sorry i had change the code, now it is the correct error)