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

Install of vision dependencies #4

Merged
merged 7 commits into from
Mar 24, 2021
Merged

Install of vision dependencies #4

merged 7 commits into from
Mar 24, 2021

Conversation

fe51
Copy link
Member

@fe51 fe51 commented Mar 23, 2021

Feature

This PR add playbook to install vision dependencies for raspberry set up

Motivation

As central pi will performed inference, it relies on packages required in pyro-vision

Following issue pyronear/pyro-vision#113, versions of pytorch and torchvision packages compiled for ARM processor are available in the release V0.1.1 of pyro-vison

Those package needs to be installed at set up on central pi.

Hence, the following PR introduces a playbook that initiate pyro-vision dependences.

So far, version of package is hardcoded in the url. We could consider add variable and especially get the latest version of packages from the latest release of pyro-vision (via https://api.github.com ). However, it might introduce less stability.

Also, I was hesitating where I should create a dedicated role and add it to common_playbooks or creating a dedicated playbook and import it in the master playbook.

Any feedback are welcomed

@fe51 fe51 added the enhancement New feature or request label Mar 23, 2021
@fe51 fe51 self-assigned this Mar 23, 2021
master.yml Outdated Show resolved Hide resolved
playbooks/install_vision_dependencies.yml Outdated Show resolved Hide resolved
playbooks/install_vision_dependencies.yml Show resolved Hide resolved
Copy link
Member Author

@fe51 fe51 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @chloeskt for the review !

playbooks/install_vision_dependencies.yml Outdated Show resolved Hide resolved
master.yml Outdated Show resolved Hide resolved
playbooks/install_vision_dependencies.yml Show resolved Hide resolved
@chloeskt
Copy link
Contributor

Thank you @fe51 for this PR, looks good for me 🤗

@fe51 fe51 merged commit 848f0c5 into master Mar 24, 2021
@fe51 fe51 deleted the add-pytorch-torch-install branch March 24, 2021 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants