Skip to content

Comments

Update test.py#35

Open
atharvadeore999 wants to merge 1 commit intoMwxinnn:mainfrom
atharvadeore999:main
Open

Update test.py#35
atharvadeore999 wants to merge 1 commit intoMwxinnn:mainfrom
atharvadeore999:main

Conversation

@atharvadeore999
Copy link

When testing the trained model on ViSA using MvTec following error occurs:
Screenshot 2025-07-06 221046

which is caused as the class name column is used to compute mean. It can be avoided by just making use of numerical columns by making the following change:
df.loc[len(df)] = df.mean(numeric_only=True)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant