YOLOX icon indicating copy to clipboard operation
YOLOX copied to clipboard

'VOCDetection' object has no attribute 'cache'

Open PraveenMNaik opened this issue 1 year ago • 8 comments

@kentaro @natelowry @nihui @steinmann @r-b-g-b @Megvii.....pls address this issue no longer I am able to solve the issue when trained for customdataset....Following is the error,,many have commented to get it solved.. i am making my effort here...pls help us...Below is the error if self.cache and self.cache_type == "ram": AttributeError: 'VOCDetection' object has no attribute 'cache'

PraveenMNaik avatar Aug 02 '23 13:08 PraveenMNaik

I had the same problem. did you solve it?

LingW1117 avatar Aug 07 '23 08:08 LingW1117

in yolox/data/datasets/voc_classes, you try add ',' after you add classes

yujingxiang51 avatar Aug 08 '23 08:08 yujingxiang51

I had the same problem. did you solve it? I got the same problem, and fixed by setting the datasets path in correct format("/home/dataset" not "/home/dataset/").

woxiaohan avatar Aug 16 '23 07:08 woxiaohan

I had the same problem. did you solve it?

wangtuo111 avatar Aug 30 '23 02:08 wangtuo111

I had the same problem. did you solve it?

I fixed by setting the datasets path in correct format("/home/dataset" not "/home/dataset/").

woxiaohan avatar Aug 30 '23 02:08 woxiaohan

后面来的人可以参下这篇文章的方法,可以正常训练https://blog.csdn.net/weixin_40920183/article/details/120387381?utm_medium=distribute.pc_relevant.none-task-blog-2~default~baidujs_baidulandingword~default-1-120387381-blog-119002910.235^v38^pc_relevant_anti_vip&spm=1001.2101.3001.4242.2&utm_relevant_index=4

hhhhok avatar Oct 08 '23 05:10 hhhhok

I meet same problem. Did you solve it? Please tell me how to solve it thanks!

guanmingdaoren avatar Jan 09 '24 08:01 guanmingdaoren

In my case it was caused by non-numerical image ids

xenteros avatar Jun 14 '24 12:06 xenteros