上一页 1 2 3 4 5 6 ··· 21 下一页
摘要: 出现 UnicodeDecodeError: 'gbk' codec can't decode byte 0x9f in position 16: illegal multibyte sequence 修改为 即可 实验结果: 阅读全文
posted @ 2024-05-24 21:23 lcz111 阅读(4) 评论(0) 推荐(0) 编辑
摘要: base_dir = './dc' train_dir = base_dir + '/train' train_dog_dir = train_dir + '/dog' train_cat_dir = train_dir + '/cat' test_dir = base_dir + '/test' 阅读全文
posted @ 2024-05-14 22:28 lcz111 阅读(2) 评论(0) 推荐(0) 编辑
摘要: win10 python3.7 tensorflow-gpu2.6.0 keras2.6.0 出现 ValueError: Asked to retrieve element 0, but the Sequence has length 0 原因:老师给的代码中标红的文件夹下没有所需文件或缺失 解决 阅读全文
posted @ 2024-05-14 22:21 lcz111 阅读(104) 评论(0) 推荐(0) 编辑
摘要: VMware虚拟机 Ubuntu20-LTS python3.6 tensorflow1.15.0 keras2.3.1 运行截图: 代码: import numpy as np from keras.models import Sequential from keras.layers import 阅读全文
posted @ 2024-05-14 22:00 lcz111 阅读(5) 评论(0) 推荐(0) 编辑
摘要: VMware虚拟机 Ubuntu20-LTS python3.6 tensorflow1.15.0 keras2.3.1 运行截图: 代码: import numpy as np np.random.seed(1337) from keras.models import Sequential fro 阅读全文
posted @ 2024-05-14 21:59 lcz111 阅读(6) 评论(0) 推荐(0) 编辑
摘要: VMware虚拟机 Ubuntu20-LTS python3.6 tensorflow1.15.0 keras2.3.1 运行截图: 代码: 实验8-1tensorboard可视化 import tensorflow as tf #定义命名空间 with tf.name_scope('input') 阅读全文
posted @ 2024-05-14 21:57 lcz111 阅读(12) 评论(0) 推荐(0) 编辑
摘要: VMware虚拟机 Ubuntu20-LTS python3.6 tensorflow1.15.0 keras2.3.1 运行截图: 代码: import os os.environ['TF_CPP_MIN_LOG_LEVEL']='2' import numpy as np import tens 阅读全文
posted @ 2024-05-14 21:53 lcz111 阅读(13) 评论(0) 推荐(0) 编辑
摘要: VMware虚拟机 Ubuntu20-LTS python3.6 tensorflow1.15.0 keras2.3.1 运行截图: 代码: %matplotlib inline import numpy as np import tensorflow as tf import matplotlib 阅读全文
posted @ 2024-05-14 21:49 lcz111 阅读(8) 评论(0) 推荐(0) 编辑
摘要: VMware虚拟机 Ubuntu20-LTS python3.6 tensorflow1.15.0 keras2.3.1 运行截图: 代码: from sklearn.model_selection import train_test_split,cross_val_score,cross_vali 阅读全文
posted @ 2024-05-14 21:46 lcz111 阅读(18) 评论(0) 推荐(0) 编辑
摘要: VMware虚拟机 Ubuntu20-LTS python3.6 tensorflow1.15.0 keras2.3.1 运行截图: 代码: 实验3-1标准化 from sklearn.preprocessing import StandardScaler from sklearn.preproce 阅读全文
posted @ 2024-05-14 21:44 lcz111 阅读(5) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 21 下一页
点击右上角即可分享
微信分享提示