Skip to content

Fix for #612 original megadetector constructors had invalid version string. #613

Merged
zhmiao merged 1 commit into
microsoft:mainfrom
podgorki:main
May 24, 2026
Merged

Fix for #612 original megadetector constructors had invalid version string. #613
zhmiao merged 1 commit into
microsoft:mainfrom
podgorki:main

Conversation

@podgorki
Copy link
Copy Markdown
Contributor

Fixes #612

Default version string in the init for MegaDetectorV6MIT, MegaDetectorV6_Distributed, MegaDetectorV6, MegaDetectorV6Apache were incorrect.

I updated the default to match the first value in the if else statement which selects the correct weights. Apache version was -x which as far as I can see does not exist so I followed the pattern for the rest and set the default as the first value in the if else string

@podgorki
Copy link
Copy Markdown
Contributor Author

@microsoft-github-policy-service agree

@podgorki
Copy link
Copy Markdown
Contributor Author

@zhmiao this is ready to merge but needs a review. I see you have been active recently can yo uplease review, its only 8 lines diff

@zhmiao
Copy link
Copy Markdown
Collaborator

zhmiao commented May 24, 2026

Thank you very much @podgorki ! I will merge it!

@zhmiao zhmiao merged commit fd0d704 into microsoft:main May 24, 2026
1 check passed
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.

invalid version names in megadetector init

2 participants