Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Allowed Naming Conventions For Object Detection Models #1749

Merged
merged 32 commits into from
Feb 9, 2025

Conversation

Sam948-byte
Copy link
Contributor

@Sam948-byte Sam948-byte commented Jan 27, 2025

Add periods and underscores to the regex, add tests for the regex, and update documentation to reflect said change. Additionally migrate regex to NeuralNetworkManager, and use regex for parsing model values in RknnModel.java. closes #1747 There's also a typo that I'm tagging onto this PR as it's tangentially related.

@Sam948-byte Sam948-byte requested a review from a team as a code owner January 27, 2025 04:33
@Sam948-byte Sam948-byte marked this pull request as draft January 27, 2025 04:36
@Sam948-byte
Copy link
Contributor Author

Sam948-byte commented Jan 27, 2025

postponing till tests are added they done been added

@Sam948-byte Sam948-byte marked this pull request as ready for review January 27, 2025 05:42
@Sam948-byte
Copy link
Contributor Author

@mcm001 I think I added the check correctly, but I'm not sure if I need to call it somewhere else as well, or just put it in the tests folder.

@mcm001
Copy link
Contributor

mcm001 commented Jan 27, 2025

They should be picked up automatically by junit, yep. How might you tell if they are or arent?

@Sam948-byte Sam948-byte requested a review from mcm001 January 31, 2025 23:53
@mcm001 mcm001 merged commit 00fb4bd into PhotonVision:main Feb 9, 2025
36 checks passed
@Sam948-byte Sam948-byte deleted the regexxxxx branch February 10, 2025 02:54
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.

Regex for uploading a custom YOLO model doesn't support periods or underscores in the first part of the name
2 participants