Megvii-BaseDetection / Megvii-BaseDetection/YOLOX

'VOCDetection' object has no attribute 'cache'

Open
#1,698 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
10.6k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

@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'

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the VOCDetection class and the code path containing if self.cache and self.cache_type == "ram". Reproduce training with the reported custom dataset, then verify that the AttributeError is gone and the dataset's cache behavior is handled consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.