Open geraldsnyman opened 5 years ago
It looks like you're encountering an error related to the scipy library when running your convolutional neural network (CNN) script. try this pip install --upgrade scipy OR conda create -n myenv python=3.8 conda activate myenv pip install tensorflow scikit-learn OR pip uninstall scipy scikit-learn pip install scipy scikit-learn
I'm working through this tutorial on https://www.tensorflow.org/
To date have I not find a single CNN that actually works. All tutorials shows how awesome they are, but when I run the scripts, they have errors. If it works, then it fails horribly in when I want to run my own data. I've trained a keras example on "cats and dogs". The prediction images given test correctly for dog or cat, but photos of my own cat get predicted as dog. It's really depressing.
I've learned to
pip install --update numpy
and other packages. been at https://www.scipy.org/install.html and stackoverflowNothing works. Please help. I really wish to actually get a CNN to work. I wish to train a CNN to recognize my own 2 cats, while rejecting other cats. I want to make a pet door that opens only for my 2 cats. Perhaps keeping mice/bird catches outside too. But yeah, I just can't find a working CNN to begin with...
What am I doing wrong?
FILE: ./benchmark/convnet.py LINE 7:
from sklearn.utils import shuffle