numpy.core.multiarray failed to import(吴恩达深度学习作业-卷积神经网络-人脸识别)错误解决
不知道原理是什么,反正这样改了之后只剩下警告了
卸载numpy
pip uninstall numpy
升级pip
python -m pip install --upgrade pip
pip安装numpy
pip install numpy
然后又出现了很多小问题,反正修正后的代码块贴出来
import tensorflow as tf
from tensorflow import keras
from keras.models import Sequential
from keras.layers import Conv2D, ZeroPadding2D, Activation, Input, concatenate
from keras.models import Model
from keras.layers.normalization import BatchNormalization
fro