Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[feat] AutoLayoutModel and flexible model configs#69

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
lolipopshock merged 12 commits intomasterfromclean-model-code
Sep 10, 2021

Conversation

lolipopshock
Copy link
Member

@lolipopshocklolipopshock commentedSep 10, 2021
edited
Loading

After this update, layout-parser will provide more flexible ways of initializing the models and specifying the model configs:

  1. NewAutoLayoutModel class that supports the convenient loading of the models from different backends. There are several different ways of specifying the models:

    1. AutoLayoutModel("lp://<detector-name>/<dataset-name>/<model-arch>/config") will create a model of the<detector-name> backed using the"lp://<dataset-name>/<model-arch>/config".
    2. AutoLayoutModel("lp://<detector-name>/<dataset-name>/<model-arch>") is more concise: it works the same as the command above, while you don't need to specify theconfig in the input.
    3. AutoLayoutModel("lp://<detector-name>/<dataset-name>") will automatically find the corresponding<model-arch> for you as long as there are models trained for this dataset.

    Here are some examples:

    1. lp.AutoLayoutModel("lp://efficientdet/PubLayNet/tf_efficientdet_d0/config")
    2. lp.AutoLayoutModel("lp://efficientdet/PubLayNet/tf_efficientdet_d0")
    3. lp.AutoLayoutModel("lp://efficientdet/PubLayNet")
  2. Similar level of flexibility is also supported for existingLayoutModels:

    1. lp.XXLayoutModel("lp://<dataset-name>/<model-arch>/config")
    2. lp.XXLayoutModel("lp://<dataset-name>/<model-arch>")
    3. lp.XXLayoutModel("lp://<dataset-name>")

@lolipopshocklolipopshock changed the titleClean model code[feat] AutoLayoutModel and flexible model configsSep 10, 2021
@lolipopshocklolipopshock merged commit4ff55fa intomasterSep 10, 2021
@lolipopshocklolipopshock deleted the clean-model-code branchSeptember 11, 2021 17:04
@lolipopshocklolipopshock mentioned this pull requestSep 13, 2021
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@lolipopshock

[8]ページ先頭

©2009-2025 Movatter.jp