Python 使用labelimg训练模型后找不到图像错误

Python 使用labelimg训练模型后找不到图像错误,python,tensorflow,machine-learning,deep-learning,Python,Tensorflow,Machine Learning,Deep Learning,我用labelimg训练了一些图像 当我开始训练模型时,它出现了以下错误,所以我认为这是因为特殊的字符“camara”,所以我在dataset\train\images和dataset\train\annotations文件夹中重命名了它 但模型仍在查找相同的图像,该图像不再位于dataset\train\images文件夹中。这些图像的名称存储在哪里,或者如何清除缓存 请帮忙 这就是错误: 找不到数据集\train\images\7037339-cámara de seguridad sobr

我用labelimg训练了一些图像

当我开始训练模型时,它出现了以下错误,所以我认为这是因为特殊的字符“camara”,所以我在dataset\train\images和dataset\train\annotations文件夹中重命名了它

但模型仍在查找相同的图像,该图像不再位于dataset\train\images文件夹中。这些图像的名称存储在哪里,或者如何清除缓存

请帮忙

这就是错误:

找不到数据集\train\images\7037339-cámara de seguridad sobre fondo gris pared abstracta-.jpg 纪元1/203

我使用的代码:

from imageai.Detection.Custom import DetectionModelTrainer
trainer = DetectionModelTrainer()
trainer.setModelTypeAsYOLOv3()
trainer.setDataDirectory(data_directory="dataset")
trainer.setTrainConfig(object_names_array=["CC Camera","Nest Cam"],batch_size=4, num_experiments=200)
trainer.trainModel()

使用pythonIDLE运行将在目录级别创建一个缓存文件夹,您需要手动删除该缓存文件夹或使用
shutil.rmtree()
解决您的问题。

将在目录级别创建一个缓存文件夹,您需要手动或使用
shutil.rmtree()
删除该缓存文件夹,这样可以解决您的问题。

如果您没有显示任何运行的代码或命令,人们应该如何帮助您?我现在添加了代码如果您没有显示任何运行的代码或命令,人们应该如何帮助您?我现在添加了代码