
问题解决
xxyAI
狂敲代码
展开
-
Ubuntu系统内核查看与绑定
Ubuntu启动界面选择“Advanced options for Ubuntu”,选择最旧的内核版本启动(认为最旧的内核版本应该为当时系统安装时所对应的内核),系统可以正常启动。由于服务器在外网,内核自动升级,系统重启默认使用最新内核,找不到相关引导文件,从而导致系统无法正常启动。服务器断电重启后,系统无法正常启动,找不到相应的引导;原创 2025-03-28 11:38:41 · 206 阅读 · 0 评论 -
ubuntu服务器更改时区
【代码】ubuntu服务器更改时区。原创 2024-01-19 10:30:40 · 482 阅读 · 0 评论 -
pip安装Faiss
【代码】pip安装Faiss。原创 2023-07-14 17:46:10 · 1516 阅读 · 0 评论 -
使用Paddle测试cudnn是否安装成功
【代码】使用Paddle测试cudnn是否安装成功。原创 2023-06-27 16:04:34 · 391 阅读 · 0 评论 -
【解决方法】远程ubuntu重复提示:Authentication Required颜色配置等等
Ctrl+o 写入文件。Ctrl+x 关闭。Enter 确认。原创 2023-06-12 16:58:56 · 2104 阅读 · 0 评论 -
[备忘]解决远程桌面连接Ubuntu gnome-remote-desktop-daemon占用独显GPU问题
(我这个是切换后的画面,原先Graphics使用Nvidia GPU,现在切换到了集显)6,我的系统,经过上述步骤后,nvidia-smi仍然报错。4, 查看已安装驱动的版本信息。2,切换Intel集显显示。1,查看ubuntu系统。8,重启系统,问题解决。5,依次输入以下命令。原创 2023-05-23 13:38:58 · 2395 阅读 · 1 评论 -
windows远程连接ubuntu 22.04及桌面优化问题
3, 启动并启用 XRDP 服务。4,防火墙中打开3389端口。5,ubuntu系统重启。原创 2023-05-22 16:48:07 · 3866 阅读 · 1 评论 -
ssh: connect to host x.x.x.x port 22: Connection refused
笔记本:通过无线wifi连接上网台式机服务器:通过有线连接上网(机器自带有无线网卡)原创 2023-04-24 11:01:58 · 430 阅读 · 0 评论 -
git clone报错:GnuTLS recv error (-110): The TLS connection was non-properly terminated.
【代码】git clone报错:GnuTLS recv error (-110): The TLS connection was non-properly terminated.原创 2023-04-20 15:26:14 · 1841 阅读 · 3 评论 -
Linux磁盘空间
du -lh --max-depth=1 : 查看当前目录下一级子文件和子目录占用的磁盘容量。-s:显示目录占用的磁盘空间大小,不要显示其下子目录和文件占用的磁盘空间大小。-a:显示目录占用的磁盘空间大小,还要显示其下目录和文件占用磁盘空间的大小。2,查看目录下,各文件占用空间大小情况:(max-depth表示目录的深度)-c:显示几个目录或文件占用的磁盘空间大小,还要统计它们的总和。--apparent-size:显示目录或文件自身的大小。-L:统计符号链接所指向的文件占用的磁盘空间大小。原创 2022-12-17 10:31:38 · 236 阅读 · 0 评论 -
将虚拟环境添加到Jupyter notebook中
jupyter notebook中添加虚拟环境原创 2022-11-16 09:09:46 · 526 阅读 · 0 评论 -
Windows查看端口、结束任务进程(Nginx)
windows端口占用查询、检索、任务进程结束原创 2022-09-20 09:44:47 · 8025 阅读 · 0 评论 -
ubuntu安装vim编辑器E: Unable to locate package vim
Ubuntu系统下vim编辑器安装原创 2022-08-12 17:50:42 · 845 阅读 · 0 评论 -
Flask部署keras/tensorflow训练好模型进行预测:ValueError: Tensor Tensor is not an element of this graph.
flask接口部署keras、tensorflow服务,报如下错误:1,ValueError: Tensor Tensor("dense_7/Softmax:0", shape=(?, 3), dtype=float32) is not an element of this graph.2,tensorflow.python.framework.errors_impl.FailedPreconditionError: Error while reading resource variable Embeddi原创 2022-06-27 10:19:04 · 786 阅读 · 0 评论 -
docker start 报错:container_linux.go:380、error adding seccomp filter rule for syscall clone3
问题描述:Error response from daemon: failed to create shim: OCI runtime create failed: container_linux.go:380: starting container process caused: error adding seccomp filter rule for syscall clone3: peron denied: unknown问题背景:NVIDIA Docker: 2.8.0Client:原创 2021-12-22 15:07:06 · 3111 阅读 · 3 评论 -
docker容器内vim编辑器无法鼠标右键粘贴
进入docker容器 cd /usr/share/vim/ cd vim81 vi defaults.vim 找到 if has('mouse') set mouse=aendif 修改为: if has('mouse') set mouse-=aendif原创 2021-11-16 11:27:54 · 1270 阅读 · 0 评论 -
pip清华源install timeout,安装失败的解决办法
修改pip.ini文件,添加内容如下:(我的路径是C:\Users\Administrator\AppData\Roaming\pip)[global]index-url = https://pypi.tuna.tsinghua.edu.cn/simple/[install]trusted-host = pypi.tuna.tsinghua.edu.cn注意trusted-host设置,免得报如下错误:Could not fetch URL https://pypi.tuna.tsin.原创 2021-11-15 17:19:08 · 1189 阅读 · 0 评论 -
UserWarning: You are using GPU version Paddle, but your CUDA device is not set properly.
解决办法:(前提确保CUDA版本与驱动对应,并正确)需要用nvidia-docker来运行镜像nvidia-docker run -it --name paddle-p 0.0.0.0:8888:6666 ec87c50bcee8 /bin/bash原创 2021-10-12 17:44:16 · 3977 阅读 · 1 评论 -
Ubuntu安装dlib后import出现libstdc++.so.6: version `GLIBCXX_3.4.26‘ not found的解决办法
安装dlibpip install boostpip install cmakeapt install python-devapt install build-essential # ubuntu c编译环境模块在Python环境下,import dlib报错ImportError: ~/anaconda3/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.26' not found原因升级gcc时,动态库没有替换旧版本gcc的动态原创 2021-08-10 16:10:36 · 1578 阅读 · 0 评论 -
Ubuntu 20.04 pip install dlib报错的解决办法
pip install boostpip install cmakeapt install python-devapt install build-essential # ubuntu c编译环境模块原创 2021-08-10 15:15:36 · 620 阅读 · 0 评论 -
ERROR: Failed building wheel for scikit-learn(安装低版本)
服务器安装scikit-learn,pip install默认安装0.24.2版本;显需要0.21.3版本。多次安装低版本显示失败信息如下:解决方法:pip install cython安装成功后,再安装低版本scikit-learnpip install scikit-learn==0.21.3Successfully installed scikit-learn-0.21.3...原创 2021-08-02 17:55:46 · 14647 阅读 · 5 评论 -
conda创建虚拟环境报错 conda.core.subdir_data.Response304ContentUnchanged
命令行输入:conda clean -i再进行虚拟环境创建,成功!原创 2021-02-25 16:45:10 · 471 阅读 · 0 评论 -
解决python调用TensorFlow时出现FutureWarning: Passing (type, 1) or ‘1type‘ as a synonym of type is deprecate
最后发现,可以在pycharm中使用Import tensorflow,然后将点进出现的警告,进入dtype.py,修改对应行的代码,把np.dtype([("quint8", np.uint8, 1)])修改为np.dtype([("quint8", np.uint8, (1,))])转载 2020-11-27 14:42:16 · 370 阅读 · 0 评论