mmdet跑完一个epoch出现ValueError: too many values to unpack (expected 2)
时间: 2023-09-25 20:12:41 浏览: 220
报错:too many open files处理
5星 · 资源好评率100%
当mmdet跑完一个epoch出现ValueError: too many values to unpack (expected 2)错误时,这通常是由于变量的解压缩不正确导致的。其中一个可能的原因是在代码中期望解压缩的变量数量与实际的变量数量不匹配。根据引用中的信息,这个错误可能是由于标签信息路径中存在空格导致的。解决这个问题的方法是将文件夹名称中的空格删除,重新生成标签信息。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [[Error]ValueError: too many values to unpack (expected 2)](https://blog.csdn.net/qq_51682716/article/details/121227098)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* [pycharm 训练YOLO模型时提示 ValueError: not enough values to unpack (expected 3, got 0)错误](https://blog.csdn.net/luoluoaiyuanyuan/article/details/128103085)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文