Megvii-BaseDetection / Megvii-BaseDetection/YOLOX
读代码时发现,get_exp_by_name()函数的module_name所表示的路径不对
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 10.6k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Description
在读代码时,发现YOLOX-main/yolox/exp/build.py文件中
def get_exp_by_name(exp_name):
exp = exp_name.replace("-", "_")
module_name = ".".join(["yolox", "exp", "default", exp])
exp_object = importlib.import_module(module_name).Exp()
return exp_object
其中,module_name所表示的路径下没有模型,模型在YOLOX-main/exps/default/yolox_s.py中,不知是我学艺不精没看懂,还是module_name所表示的路径错了?望大佬指正
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 reading yolox/exp/build.py and comparing its import path with exps/default/yolox_s.py. Inspect the repository package layout and the callers of get_exp_by_name() to determine whether the paths are intentionally different. Done means establishing the correct explanation and, if a defect is confirmed, identifying the affected behavior and required change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- computer-vision, machine-learning
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100