当前位置:网站首页>nuScenes——数据集配置过程中遇到图像文件缺失或大小为0时的补救方法
nuScenes——数据集配置过程中遇到图像文件缺失或大小为0时的补救方法
2022-06-24 19:35:00 【Irving.Gao】
解压后图像大小为0
在训练过程中,在读取这个图像文件时遇到报错,因此来查看该图像是否存在问题,果然大小为0。
解决方法
- 定位问题图像在哪个数据集的压缩包中
首先我们需要在所有数据集压缩包中找到该文件:(需要一个一个尝试)
# tar tvf xxxxx.tgz | grep file_name
tar tvf v1.0-trainval04_blobs_camera.tgz | grep samples/CAM_BACK/n015-2018-08-03-15-21-40+0800__CAM_BACK__1533281213787525.jpg

- 单独解压该文件并放回到数据集中:
# tar zxfv xxxxx.tgz file_name
tar zxfv v1.0-trainval04_blobs_camera.tgz samples/CAM_BACK/n015-2018-08-03-15-21-40+0800__CAM_BACK__1533281213787525.jpg

cp samples/CAM_BACK/n015-2018-08-03-15-21-40+0800__CAM_BACK__1533281213787525.jpg trainval/samples/CAM_BACK/n015-2018-08-03-15-21-40+0800__CAM_BACK__1533281213787525.jpg

可以看到上述问题就解决啦。
边栏推荐
- 04A中断的配置
- leetcode:55. Jumping game [classic greed]
- envoy获取客户端真实IP
- Chapter 10 project communication management
- Process communication mode
- CSRF and SSRF for web attacks
- 重磅!法大大上榜“专精特新”企业
- YGG recent game partners list
- Relationnet++: a representation of fusion of multiple detection targets based on transformer | neurips 2020
- CA Zhouji - the first lesson in 2022 rust
猜你喜欢

Chapter 10 project communication management

干货丨产品的可行性分析要从哪几个方面入手?

Genesis公链与美国一众加密投资者齐聚Consensus 2022

SAP interface debug setting external breakpoints

Can AI chat robots replace manual customer service?

虚拟人的产业发展现状

Zero code can apply data visualization to enterprise management

Selection and comparison of message oriented middleware MQ

First order model realizes photo moving (with tool code) | machine learning

Use of selector for NiO multiplexing
随机推荐
leetcode:45. Jumping game II [classic greed]
String exercise summary 2
短视频商城系统,scroll-view如何自适应页面剩余高度
New features of go1.18: efficient replication, new clone API for strings and bytes standard library
问题求解——嵌套列表
Seven principles of software design
Flutter: Unsupported value: false/true
leetcode:515. Find the maximum value in each tree row [brainless BFS]
Huada 04A operating mode / low power consumption mode
为什么有的程序员能力一般却能拿到好offer?
Concurrency of heap memory allocation
华大04a工作模式/低功耗模式
seven
揭秘B站,程序员穿女装敲代码,效率更高是真的吗?
try-with-resources 中的一个坑,注意避让
Why can some programmers get good offers with average ability?
YGG recent game partners list
img2pdf
磁盘的结构
理想L9,智能座舱新潮流