KeyError: "No object named 'DefaultSolver' found in 'solvers' registry!
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- python
- Domain
- machine-learning
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.
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!
- Dominant language
- Python
- Stars
- 282
- Forks
- 20
- PR merge metrics
- No merged PRs in 30d
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.
More from MegEngine/RepLKNet
-
plot receptive field Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
-
Difficulty 4/5 3-5 days Newbie friendliness 20/100
All issues in MegEngine/RepLKNet
Similar issues
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
simonw/sqlite-utils#872 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100