OpenCV/Numpy Installation Issue on Conda Python 3.10 (MacOS) #41
Open
Description
Search before asking
- I have searched the Multimodal Maestro issues and found no similar bug report.
Bug
First of all, thank you for this package! I am excited to test it out. I have a slight issue, however. I created a fresh environment to test out the package.
When trying to import modules from the maestro package, there's a NumPy version compatibility error. The error suggests that a module compiled with NumPy 1.x is being run with NumPy 2.1.1, which can cause crashes.
Code to reproduce:
from maestro.trainer.common import MeanAveragePrecisionMetric
from maestro.trainer.models.florence_2 import train, TrainingConfiguration
Error message:
A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.1.1 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need t
...
ImportError: numpy.core.multiarray failed to import
Environment:
- Operating System: macOS
- Python version: 3.10
- Maestro version: 0.1.0
Environment
Environment:
- Operating System: macOS
- Python version: 3.10
- Maestro version: 0.1.0
Minimal Reproducible Example
Code to reproduce:
from maestro.trainer.common import MeanAveragePrecisionMetric
from maestro.trainer.models.florence_2 import train, TrainingConfiguration
Additional
No response
Are you willing to submit a PR?
- Yes I'd like to help by submitting a PR!