加载中
libstdc++.so.6: version GLIBCXX_3.4.30' not found`

conda install -c conda-forge libstdcxx-ng

2023/07/04 15:54
130
ImportError: cannot import name 'get_device' from 'basicsr.utils.misc'

找到并打开:basicsr/utils/misc.py import torch def get_device(): if torch.cuda.is_available(): return torch.device("cuda") else: return torch.device("cpu") def gpu_is_avail......

2023/06/17 07:44
97
另类SQL错误的处理办法

比如你遇到这种错误: SQL错误(1118) Row size too large(>8126) changing some columns to TEXT or BLOB or using ROW_FORMAT=DYNAMIC or ROW_FORMAT=COMPRESSED may help. In current row ...

2023/05/04 14:59
169
找不到或无法加载主类 org.apache.hadoop.mapreduce.v2.app.MRAppMaster

第一步: $ hadoop classpath 第二步: 编辑 yarn-site.xml $ vim yarn-site.xml <configuration> <property> <name>yarn.application.classpath</name> <value>输入刚才返回的Hadoop clas.....

2023/03/07 16:53
32
Linux服务器免密登陆详细教程

在CentOS中,您可以通过SSH配置文件来启用免密登录,以下是详细步骤: 使用SSH连接到目标CentOS服务器。您需要知道服务器的IP地址和SSH端口号以及具有root权限的用户名和密码。 在连接后,编...

2023/03/06 09:07
464
基于ffmpeg,视频转音频

单个转换 ffmpeg -i {输入文件} {输出文件} 示例 mp4 转 mp3 ffmpeg -i foo.mp4 foobar.mp3 flv 转 mp3 ffmpeg -i foo.flv foobar.mp3 mp4 转 wav ffmpeg -i foo.mp4 foobar.wav wav 转 mp3 ...

2023/01/13 09:59
283
Go语言:优化执行文件的体积

优化方案 第一步:编译优化 使用一下指令进行编译: go build -ldflags="-w -s" 说明:会去除 DWARF调试信息、符号信息 优化方案 第二步:压缩优化 安装 UPX,并使用 最高级别的压缩 下载地址...

2023/01/11 10:11
26
解决 Archlinux 屏幕亮度调节失效问题

sudo pacman -S acpilight 将当前用户加入 video 组,实现免 root 控制亮度 sudo gpasswd video -a $(whoami) acpilight 兼容 xbacklight 重启之后就可以通过下面命令控制亮度了: 获得当前亮...

2022/10/20 14:01
92
ModuleNotFoundError: No module named 'psbody'

pip install git+https://github.com/MPI-IS/mesh.git 以上操作,可能会执行失败,你需要执行多几次,当然你如果科学上网了,这一步,也有很大概率一次成功 #以下指令,在编译失败时,作为可...

2022/10/13 07:36
5
The following `model_kwargs` are not used by the model

问题描述: The following model_kwargs are not used by the model: ['encoder_hidden_states', 'encoder_attention_mask'] (note: typos in the generate arguments will also show up in ...

2022/10/05 22:46
4.4K
PyTorch - RuntimeError: CUDA out of memory 一文解决

一、错误提示: RuntimeError: CUDA out of memory. Tried to allocate 1024.00 MiB (GPU 0; 7.80 GiB total capacity; 5.21 GiB already allocated; 173.38 MiB free; 5.27 GiB reserved in...

2022/10/05 16:44
3.1W
Git创建分支并推送到远程分支

查看分支 $ git branch $ git status 新建远程分支 新建一个本地分支: $ git checkout -b dbg_lichen_star #查看一下现在的分支状态 $ git branch #星号(*)表示当前所在分支。现在的状态是成...

2022/08/25 06:44
149
Git 创建标签 tag

创建标签 tag git tag <name>就可以打一个新标签 #加上-a参数来创建一个带备注的tag,备注信息由-m指定 git tag -a tagName -m "my tag" #如果你未传入-m则创建过程系统会自动为你打开编辑器...

git
2022/08/24 10:44
405

没有更多内容

加载失败,请刷新页面

返回顶部
顶部