摘要:
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
阅读(23)
评论(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
阅读(147)
评论(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
阅读(12)
评论(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
阅读(16)
评论(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
阅读(24)
评论(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
阅读(33)
评论(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
阅读(17)
评论(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
阅读(40)
评论(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
阅读(17)
评论(0)
推荐(0)
摘要:
VMware虚拟机 Ubuntu20-LTS python3.6 tensorflow1.15.0 keras2.3.1 运行截图: 代码: from sklearn import datasets import matplotlib.pyplot as plt import numpy as np 阅读全文
posted @ 2024-05-14 21:40
lcz111
阅读(42)
评论(0)
推荐(0)
摘要:
VMware虚拟机 Ubuntu20-LTS python3.6 tensorflow1.15.0 keras2.3.1 运行截图 代码: from sklearn.linear_model import LinearRegression, SGDRegressor, Ridge, Logistic 阅读全文
posted @ 2024-05-14 21:30
lcz111
阅读(41)
评论(0)
推荐(0)

浙公网安备 33010602011771号