akashorabek commented on issue #30760:
URL: https://github.com/apache/beam/issues/30760#issuecomment-2618579486

   I tried retraining the model, but the error` ValueError: numpy.dtype size 
changed still appears.` Most likely, there is an incompatibility in 
`scikit-learn` with the new `NumPy `version specifically for `Python 3.9` and 
`3.10`.
   I found a [similar issue 
here](https://github.com/openai/whisper/discussions/2334), and it seems that 
downgrading `NumPy` was the only solution that worked. I tried it locally, and 
it fixed the problem.
   Can we revert to an older NumPy version for Python 3.9 and 3.10? I see 
@Abacn already created [draft PR](https://github.com/apache/beam/pull/33774) 
for this.
   
   @damccorm @liferoad 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@beam.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to