<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[Glfsir的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/Glfsir</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; Glfsir]]></copyright><item><title><![CDATA[Linux grep命令教程]]></title><link>https://blog.youkuaiyun.com/Glfsir/article/details/142724700</link><guid>https://blog.youkuaiyun.com/Glfsir/article/details/142724700</guid><author>Glfsir</author><pubDate>Mon, 07 Oct 2024 13:40:57 +0800</pubDate><description><![CDATA[要查找.c或.h文件中所有以int。]]></description><category></category></item><item><title><![CDATA[ImportError: cannot import name ‘VGG16‘ from ‘keras.applications‘]]></title><link>https://blog.youkuaiyun.com/Glfsir/article/details/123745191</link><guid>https://blog.youkuaiyun.com/Glfsir/article/details/123745191</guid><author>Glfsir</author><pubDate>Fri, 25 Mar 2022 20:55:04 +0800</pubDate><description><![CDATA[Keras 内置在最新的 TF 框架中，因此将
from keras.applications import VGG16

改为：
from tensorflow.keras.applications import VGG16


]]></description><category></category></item><item><title><![CDATA[jupyter notebook代码缩进对齐（修改谷歌浏览器字体）]]></title><link>https://blog.youkuaiyun.com/Glfsir/article/details/123607657</link><guid>https://blog.youkuaiyun.com/Glfsir/article/details/123607657</guid><author>Glfsir</author><pubDate>Sun, 20 Mar 2022 09:47:32 +0800</pubDate><description><![CDATA[缩进明明是四个空格，函数体和函数名却不对齐：

最初以为是 Nbextensions 的设置有问题，当我将 jupyter notebook 在 Edge 浏览器启动时发现代码对齐了，并且 Edge 浏览器显示的代码字体和 Chrome 浏览器明显不同，我意识到应该是谷歌浏览器字体设置的问题。将“ 设置 --&gt; 外观 --&gt; 自定义字体 --&gt; 宽度固定的字体 ”修改为 Consolas（Windows 下效果最好的等宽字体）：

代码成功对齐：


...]]></description><category></category></item><item><title><![CDATA[使用GPU训练tensorflow/keras模型，Memory-Usage占用高，GPU-Util利用率低。提升GPU-Util利用率，提升模型训练速度]]></title><link>https://blog.youkuaiyun.com/Glfsir/article/details/123604474</link><guid>https://blog.youkuaiyun.com/Glfsir/article/details/123604474</guid><author>Glfsir</author><pubDate>Sat, 19 Mar 2022 23:49:06 +0800</pubDate><description><![CDATA[win11 系统，已安装 CUDA-11.2、cuDNN-8.1、tensorflow_gpu-2.6.0 以及 keras-2.6.0。但我在运行如下代码训练模型时，通过任务管理器看到 cpu 占用 20%左右，gpu占用为0%。我以为此时仍是 cpu 在训练模型（其实已经是 gpu 在训练模型了）。
history = model.fit(
    train_generator,
    steps_per_epoch=100,
    epochs=30,
    validation_data=v]]></description><category></category></item><item><title><![CDATA[报错ImportError: Image transformations require SciPy. Install SciPy.]]></title><link>https://blog.youkuaiyun.com/Glfsir/article/details/123562571</link><guid>https://blog.youkuaiyun.com/Glfsir/article/details/123562571</guid><author>Glfsir</author><pubDate>Thu, 17 Mar 2022 22:26:19 +0800</pubDate><description><![CDATA[我的环境中已经安装了SciPy1.6.2，推测报错是因为版本兼容问题，于是我将SciPy更新为1.8.0，还是报错。我又尝试关闭内核并重新运行程序，报错消失~


]]></description><category></category></item><item><title><![CDATA[InternalError: Attempting to perform BLAS operation using StreamExecutor without BLAS support]]></title><link>https://blog.youkuaiyun.com/Glfsir/article/details/123489052</link><guid>https://blog.youkuaiyun.com/Glfsir/article/details/123489052</guid><author>Glfsir</author><pubDate>Mon, 14 Mar 2022 21:32:04 +0800</pubDate><description><![CDATA[报错原因：不止一个Kernel（内核）正在运行
解决方法：关闭其他内核


我这里有两个内核正在运行



关闭其中一个，重新运行程序，报错消失




]]></description><category></category></item><item><title><![CDATA[tensorflow-gpu安装失败，报错：failed with initial frozen solve. Retrying with flexible solve.]]></title><link>https://blog.youkuaiyun.com/Glfsir/article/details/123210205</link><guid>https://blog.youkuaiyun.com/Glfsir/article/details/123210205</guid><author>Glfsir</author><pubDate>Tue, 01 Mar 2022 17:13:14 +0800</pubDate><description><![CDATA[使用conda install tensorflow-gpu==2.6.0时报错：
failed with initial frozen solve. Retrying with flexible solve.
failed with repodata from current_repodata.json, will retry with next repodata.
我将conda换成pip解决了这个问题。
补充：安装tensorflow时，要注意与Python、CUDA以及cuDNN之间版本的对应关系：]]></description><category></category></item><item><title><![CDATA[Markdown语法学习]]></title><link>https://blog.youkuaiyun.com/Glfsir/article/details/121602024</link><guid>https://blog.youkuaiyun.com/Glfsir/article/details/121602024</guid><author>Glfsir</author><pubDate>Mon, 29 Nov 2021 09:03:08 +0800</pubDate><description><![CDATA[一级标题
二级标题
字体
1、加粗：两边各两个*
hello
2、斜体：两边各一个*
hello
3、斜体加粗：两边各三个*
hello
4、删除线：两边各两个~
hello
引用
句首一个&gt;

这是引用哈哈哈
连续两个回车退出引用

分割线
三个减号

或三个*

图片
感叹号+中括号+小括号

超链接
中括号+小括号
链接名称
列表
有序列表：数字+.+空格

第一个
第二个

无序列表：减号+空格

第一个
第二个

表格
emmm就用鼠标创建吧。
代码
```+语言名称


...]]></description><category></category></item></channel></rss>