TorchDSP / torchsig

TorchSig is an open-source signal processing machine learning toolkit based on the PyTorch data handling pipeline.
MIT License
155 stars 37 forks source link

NumPy 1.x cannot be run in NumPy 2.0.0 as it may crash; .../examples/00_example_sig53_dataset.ipynb #238

Closed springyworks closed 2 months ago

springyworks commented 2 months ago

Describe the bug A module that was compiled using NumPy 1.x cannot be run in NumPy 2.0.0 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 to rebuild instead e.g. with 'pybind11>=2.12'.

To Reproduce using venv git clone pip install -e . run example notebook ; 00_example_sig53_dataset.ipynb

Expected behavior no errors

Screenshots image

Desktop

Additional context file with pip installed packages and version numbers torchsig_packages_versions.txt

cheers , PE1BFE 73 ko

nsbruce commented 2 months ago

the numpy version isn't fixed in the pyproject.toml so I fixed this by doing a pip install "numpy<2"

springyworks commented 2 months ago

that worked. it is related to the version of opencv-python .