I also have this error during using the LSTM in TensorFlow. But when I reinstall numpy, a warning "tensorflow-macos 2.5.0 requires numpy~=1.19.2, but you have numpy 1.21.2 which is incompatible." shows. I can only install numpy 1.21.2 through pip.
Topic:
Machine Learning & AI
SubTopic:
General
Tags: