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

Use args.class_map for labels in inference.py#2319

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

Open
JosuaRieder wants to merge1 commit intohuggingface:main
base:main
Choose a base branch
Loading
fromJosuaRieder:inference_use_class_map

Conversation

JosuaRieder
Copy link
Contributor

Addresses#1800

@rwightman
Copy link
Collaborator

@JosuaRieder thanks for the PR ... might have gathered from my comment in the bug related to class map foder filtering though it's relatred, the class map should be treated separately from the label information. class map is used for filtering, it can actually remove class labels from a dataset while remapping to a different classifier layout.

Assigning descriptions, label names should be separate.

@JosuaRieder
Copy link
ContributorAuthor

Assigning descriptions, label names should be separate.

In that case, I may have misinterpreted what the intended use case of--class-map is.

What is the intended way to train an / infer with an efficientnet with custom classes?
I used--class-map class_map.txt --model efficientnet_b7 --num-classes 8 and it generally worked, both for training from scratch as well as finetuning.

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.

2 participants
@JosuaRieder@rwightman

[8]ページ先頭

©2009-2025 Movatter.jp