Megvii-BaseDetection / Megvii-BaseDetection/YOLOX

Stick at yolox.core.trainer:152 - init prefetcher

Open
#333 11 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

When I run the algorithm, if often sticks at this point
2021-08-03 07:55:34 | INFO | yolox.core.trainer:152 - init prefetcher, this might take one minute or less...

And I debug this approach, find the program stopped at random picture. I have 2000 pics for train, It may stick at 1720/2000 or 1080/2000, and never go forward even waiting for several hours.

I have tried to change the data_num_workers to 0/4/16, but it didn't work

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

Start at yolox.core.trainer:152 and inspect the prefetcher and data-loading path around the reported init message. Reproduce the stall with the 2,000-image training set while varying data_num_workers; done means training proceeds past image-loading without hanging.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.