摘要: 重要的几段代码摘抄如下: import matplotlib.pyplot as plt yy_train_loss = [] yy_valid_loss = [] yy_train_acc = [] yy_valid_acc = [] xx = [] #def train 或 def fit: f 阅读全文
posted @ 2020-12-20 20:06 qiezi_online 阅读(1521) 评论(0) 推荐(0) 编辑
摘要: python pickle编码问题,具体原因暂未能解释 解决方法:fields_dict[field] = pickle.load(f) 改成 fields_dict[field] = pickle.load(f, encoding='latin1') 或者 encoding='bytes' 问题解 阅读全文
posted @ 2020-12-20 19:57 qiezi_online 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 参考:https://blog.csdn.net/weixin_42059276/article/details/106668679 tensorboard --logdir=train_logs --port=6008 # TensorBoard 0.4.0 at http://n1:6008 注 阅读全文
posted @ 2020-12-20 12:06 qiezi_online 阅读(1057) 评论(0) 推荐(0) 编辑
摘要: 安装tensorflow 1.4.0版本时,因为版本比较低,对应的cuda需要8.0版本,Ubuntu18自带的是cuda10.0,所以需要自行配置很多。 libcudart.so.8.0: cannot open shared object file: No such file or direct 阅读全文
posted @ 2020-12-20 11:33 qiezi_online 阅读(521) 评论(0) 推荐(0) 编辑
摘要: 推荐mobaxterm,xshell7,(windows自带的powershell) 配置个ssh居然配了半天不对,幸亏室友帮助指点一二,才正确(差点蠢哭),总结一下 一、 拿mobaxterm举例:(使用公钥私钥对配对,登录,port和用户名一定要写对啊!血的教训,username使用whoami 阅读全文
posted @ 2020-12-20 00:54 qiezi_online 阅读(268) 评论(0) 推荐(0) 编辑