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

Mac and non-GPU support #6

Merged
merged 14 commits into from
Apr 29, 2024

Conversation

ian-coccimiglio
Copy link
Contributor

@ian-coccimiglio ian-coccimiglio commented Apr 29, 2024

Managed to pass all of our tests locally on my Mac :).

Some functions work with MPS support, whereas others don't. For the ones that don't, I elected to just pass to the calculations to the CPU.

  1. The model Faster_RCNN fails because of non-implemented pytorch function, as well as the MobileSAMv2 model (aten::upsample_bicubic2d.out)
  2. SAM_Automatic_Mask_Generation fails because of floating point transformations. I think this is just caused by numpy defaulting to 64-bit precision, because SAM prediction works when we're just working with one mask at a time.

But what works is the YOLOv8 bounding box prediction, which is a pretty big step in our model.

Also, updating license to include mobileSAMv2 and the Cellpose dataset.

Partially resolves #5

@bnorthan bnorthan merged commit f594abd into True-North-Intelligent-Algorithms:main Apr 29, 2024
7 checks passed
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.

Support for Mac
2 participants