- 博客(4)
- 收藏
- 关注
原创 用latex写表格用了\multirow命令时合并单元格内容无法换行问题
问题在于〈width〉 is the width to which the text is to be set. Special values are * to indicate that the text parameter’s natural width is to be used, and = to indicate that the specified width of the column in which the \multirow entry is set should be used。
2024-12-19 21:22:00
858
原创 解决texlive运行期刊模板时报错LaTeX Error: File ‘‘picins.sty‘‘ not Found 的问题
最近要用latex编辑论文格式,从期刊官网下载了模板,运行时报错缺少picins.sty的宏包,了解到这是比较古早的用来编辑图片的宏包,现在的版本早就不用这个宏包就能弄好图片了。但是期刊的模板里又用到了,还是想手动安装。win+R 输入 texhash 运行 texhash 刷新 Tex 文件数据库。手动复制到目录\texlive\texmf-local\tex\latex。从下面这个链接下载picins。再次尝试时模板就可用不再报错了。
2024-12-13 21:07:56
532
原创 LTP分句报错问题
sents = ltp.sent_split(["他叫汤姆去拿外衣。", "汤姆生病了。LTP现在的模型版本对应的说明文档是。# "他叫汤姆去拿外衣。# "汤姆生病了。# "他去了医院。
2024-10-31 16:23:30
209
原创 conda安装pytorch GPU版本总报false的问题终于解除了
根据pytorch官网的命令安装cuda版本pytorch试了几次最后torch.cuda.is_available()都是False。最后找到原因:清华镜像下下来有3个包是CPU版本的。可以自行在pkg文件夹或者conda list找找,排除一下是否是这个原因。解决方案:搭了个梯子,用默认源下载。但是11.8的版本默认命令无法找到torchaudio的包,所以对照。找了一下我自己python版本可用的torch和torchvision包,在官网找了以前的版本。排除了CUDA版本问题以后,开始疯狂试错。
2024-05-13 21:47:52
621
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人