Skip to content

Update Allowed Naming Conventions For Object Detection Models#1749

Merged
mcm001 merged 32 commits intoPhotonVision:mainfrom
samfreund:regexxxxx
Feb 9, 2025
Merged

Update Allowed Naming Conventions For Object Detection Models#1749
mcm001 merged 32 commits intoPhotonVision:mainfrom
samfreund:regexxxxx

Conversation

@samfreund
Copy link
Member

@samfreund samfreund 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.

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

samfreund commented Jan 27, 2025

postponing till tests are added they done been added

@samfreund samfreund marked this pull request as ready for review January 27, 2025 05:42
@samfreund
Copy link
Member 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?

@samfreund samfreund requested a review from mcm001 January 31, 2025 23:53
@mcm001 mcm001 merged commit 00fb4bd into PhotonVision:main Feb 9, 2025
36 checks passed
@samfreund samfreund deleted the regexxxxx branch February 10, 2025 02:54
samdev-7 pushed a commit to Earl-Of-March-FRC/photonvision that referenced this pull request Feb 16, 2025
@Gold856 Gold856 added documentation Anything relating to https://docs.photonvision.org frontend Having to do with PhotonClient and its related items backend Things relating to photon-core and photon-server labels Aug 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend Things relating to photon-core and photon-server documentation Anything relating to https://docs.photonvision.org frontend Having to do with PhotonClient and its related items

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

3 participants