FileNotFoundError: [Errno 2] No such file or directory: ./data/VOCdevkit/VOC2012/JPEGImages/
时间: 2023-08-18 19:11:17 浏览: 148
ISO/IEC 9899:1990 C90 C标准 英文版 PDF
回答: 这个错误是由于找不到指定的文件或目录引起的。根据引用\[1\]和引用\[2\]的报错信息,可以看出文件或目录路径不正确。解决方法是根据引用\[3\]中给出的正确命令来修改路径。具体来说,你需要将路径改为'./data/voc2012_raw/VOCdevkit/VOC2012/JPEGImages/',确保文件或目录存在,并且路径中的大小写与实际情况一致。这样就可以解决FileNotFoundError错误了。
#### 引用[.reference_title]
- *1* [FileNotFoundError: [Errno 2] No such file or directory: ‘VOCdevkit/VOC2012/ImageSets/Main/aeroplane...](https://blog.csdn.net/yume_/article/details/129164218)[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^v91^insert_down28v1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* *3* [FileNotFoundError: [Errno 2] No such file or directory: “‘./data/voc2012_raw/VOCdevkit/VOC2012‘\\...](https://blog.csdn.net/FriendshipTang/article/details/114301334)[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^v91^insert_down28v1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文