Megvii-BaseDetection / Megvii-BaseDetection/BEVDepth

ValueError: not enough values to unpack (expected 10, got 1)

Open
#199 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
881
Forks
124
PR merge metrics
No merged PRs in 30d

Description

在运行代码 for iter_data in data:
(
sweep_imgs,
sweep_sensor2ego_mats,
sweep_intrins,
sweep_ida_mats,
sweep_sensor2sensor_mats,
bda_mat,
sweep_timestamps,
img_metas,
gt_boxes,
gt_labels,
) = iter_data[:10]时出现ValueError: not enough values to unpack (expected 10, got 1)的报错,请问如何解决

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the data passed to the shown for iter_data in data loop and checking its shape and structure before unpacking. Trace where each iter_data value is produced, then reproduce the error and verify that the loop receives the ten expected values instead of a single value.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-vision
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.