![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
CNN
water_MLing
这个作者很懒,什么都没留下…
展开
-
2021-03-22
AttributeError: ‘Series’ object has no attribute ‘as_matrix’ 问题描述: # First calculate the mid prices from the highest and lowest high_prices = df.loc[:,'High'].as_matrix() low_prices = df.loc[:,'Low'].as_matrix() mid_prices = (high_prices+low_prices)/2.0 运原创 2021-03-22 09:35:16 · 74 阅读 · 0 评论 -
2021-03-20
Transfer learning with TensorFlow Hub 的模型下载网址 1.该网址模型下载不下来 classifier_model =“https://tfhub.dev/google/tf2-preview/mobilenet_v2/classification/4” 可以用下面网址进行下载 classifier_url =“https://hub.tensorflow.google.cn/google/tf2-preview/mobilenet_v2/classification/4原创 2021-03-20 16:17:05 · 162 阅读 · 0 评论 -
2021-03-20
Tensorflow 从本地导入数据集(离线使用数据集) 1.keras.datasets.cifar10.load_data()进入函数load_data(),j将函数中的path 路径进行修改 dirname = 'cifar-10-batches-py' origin = 'https://www.cs.toronto.edu/~kriz/cifar-10-python.tar.gz' path = get_file( dirname, origin=origin,原创 2021-03-20 10:47:28 · 82 阅读 · 0 评论 -
2021-03-19
InvalidArgumentError: jpeg::Uncompress failed. Invalid JPEG data or crop window. [[{{node decode_image/DecodeImage}}]] [Op:IteratorGetNext] 错误描述 产生这个问题的原因 是图片有损坏,解决方法要么重新下载数据集;要么检测损坏图片,并删除。 问题解决 “C:\Users\用户名.keras\datasets” 目录下删除下载的数据集,重新运行程序。 因为我的anaco原创 2021-03-19 14:41:34 · 446 阅读 · 0 评论