Installation Update#43
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #43 +/- ##
=======================================
Coverage 24.85% 24.85%
=======================================
Files 40 40
Lines 2394 2394
=======================================
Hits 595 595
Misses 1799 1799 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Oh that's an interesting one! Does it work for metal/macOS or just nvidia systems? |
| echo "\nInstall additional dependencies" | ||
| python -m pip install -r ./requirements.txt | ||
| echo "\nInstall FeatureForest from GitHub" | ||
| python -m pip install git+https://github.com/juglab/featureforest.git |
There was a problem hiding this comment.
You mean why not pip install -r ./requirements.txt ?
Unfortunately, CI test on Windows fails on:
pip install light-the-torch
Because current light-the-torch supports an older version of pip and trying to down(up)grad the pip will throw an error. But with python -m pip install light-the-torch everything's fine.
So I decided tobe safe and used python -m pip everywhere!
There was a problem hiding this comment.
No I meant why install git+https://github.com/juglab/featureforest.git rather than the Pip package!
There was a problem hiding this comment.
I see. I guess because the git repo is usually more up-to-date.
I tried on Mac and it installs the CPU version. Although I'm not sure how can I check if it has MPS accelerator! |
Annoying but these are the two conditions validating that MPS is usable. |
|
Using |
I changed the setup process by utilizing an installation script (
install.shandinstall.bat).To install PyTorch, this script is using
light-the-torchpackage that can automatically detect local installation of CUDA and its version. Also,segmenta-anythingandsam-2will be installed from their git repos.