Unstructured-IO / Unstructured-IO/unstructured

bug/<short-name>把YOLOX的地址设置为本地目录,可通过在自己代码前面加上这些命令

Open
#4,103 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
HTML
Stars
15.5k
Forks
1.3k
Avg merge
4d 2h
Merged PRs (30d)
13

Description

from unstructured_inference.models.yolox import UnstructuredYoloXModel, YOLOX_LABEL_MAP

model = UnstructuredYoloXModel()
model.initialize(
model_path="../model_params/yolox_layout/yolox_l0.05.onnx",
label_map=YOLOX_LABEL_MAP
)

Contributor guide

Open the contributing guide

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 the UnstructuredYoloXModel initialization entry point shown in the issue and trace how model_path and YOLOX_LABEL_MAP are handled. Reproduce the reported local-directory setup using the provided snippet, then identify the expected behavior and verify it with the relevant YOLOX model tests, if present. The issue is done when the local model path works as described and the behavior is covered by a test.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-vision, 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.