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

New model #195

Merged
merged 6 commits into from
May 21, 2024
Merged

New model #195

merged 6 commits into from
May 21, 2024

Conversation

MateoLostanlen
Copy link
Member

Following our discussion on the slack vision channel, we have a new reference model that has been added to huggingface. I suggest using it from now on.

This new model uses a larger 1024x1024 image instead of 384, 640. The inference on the pi is done in 3.5s instead of 1s previously, which is not a problem especially with PR #194

@MateoLostanlen MateoLostanlen requested a review from a team May 20, 2024 16:48
@MateoLostanlen MateoLostanlen self-assigned this May 20, 2024
@MateoLostanlen MateoLostanlen added the type: enhancement New feature or request label May 20, 2024
@RonanMorgan
Copy link
Collaborator

I think we should not hardcode the URL in the code to better manage model's upgrade.
An easy way could be to use var env but we can also imagine more complex behavior (neutral URL & hach in order to automatically upgrade the model)

It also means that we will have to implement the verification of the scheme as asked by Codacy

pyroengine/vision.py Show resolved Hide resolved
@MateoLostanlen
Copy link
Member Author

MateoLostanlen commented May 21, 2024

Hi @RonanMorgan , thanks for the review,

I don't agree with you it's much better to hardcode the url for an easier update on all devices. If we have to chnager a .env one by one it will quickly become unmanageable

if we find a you to update it automatically why not, maybe it's feasible with hugging face. But it's another PR here I just want to upgrade to model

@MateoLostanlen MateoLostanlen merged commit 59d2029 into develop May 21, 2024
9 of 12 checks passed
@MateoLostanlen MateoLostanlen deleted the new_model branch May 21, 2024 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants