MegEngine / MegEngine/RepLKNet
KeyError: "No object named 'DefaultSolver' found in 'solvers' registry!
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 282
- Forks
- 20
- PR merge metrics
- No merged PRs in 30d
Description
honestly, I want to reproduce this model. but after I git clone code and install megengine as well as install basecls with source code, I start running commands as follows:
./main_imagenet_test.py -f configs/replknet31_base_224_pt1k.py -w [weights] batch_size 64 data.val_path /path/to/imagenet/val
and then the error is reported as KeyError: "No object named 'DefaultSolver' found in 'solvers' registry!
it seems that something is wrong with the registry, but j just do not know why, as we already define it in the package basecls.
does anyone ever meet the same error as I did? hope for your reply!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the command from main_imagenet_test.py with configs/replknet31_base_224_pt1k.py and the provided weights and validation path. Then inspect how basecls registers DefaultSolver in the solvers registry; done means identifying why the registration is unavailable during this entry point and documenting or correcting the reproducible setup.
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
- 25/100