- 博客(6)
- 收藏
- 关注
原创 How to fix ‘_pickle.UnpicklingError: invalid load key, ‘<‘ ‘ error in Pytorch
参考:https://stackoverflow.com/questions/56391392/how-to-fix-pickle-unpicklingerror-invalid-load-key-error-in-pytorch。参数没有办法反序列化,长度小于标准,可能的原因是参数没有下载完整,需要重新下载参数。
2023-03-22 20:36:04
1821
原创 Linux创建用户相关问题
实例1:# useradd –d /home/sam -m sam正常情况下登录时候会出现sam@XXX:~$的登录显示,但是这种方法会出现没有路径的情况。类似于下面这种情况:$ cd ~ $ ls$ ls -a需要给新用户指定shell为/bin/bash# 可以先cat /etc/passwd查看新用户指定shell是否为/bin/bashsu - rootusermod -s /bin/bash sam更详细的方法可以参考以下:refLinux 用户和用户组管理
2021-11-22 11:42:36
700
原创 【警告】[W pthreadpool-cpp.cc:90] Warning: Leaking Caffe2 thread-pool after fork. (function pthreadpool
[W pthreadpool-cpp.cc:90] Warning: Leaking Caffe2 thread-pool after fork. (function pthreadpool)[W pthreadpool-cpp.cc:90] Warning: Leaking Caffe2 thread-pool after fork. (function pthreadpool)[W pthreadpool-cpp.cc:90] Warning: Leaking Caffe2 thread-pool
2021-11-21 22:25:32
2627
原创 Warning: Leaking Caffe2 thread-pool after fork
Warning: Leaking Caffe2 thread-pool after fork详细可以参考这里:https://discuss.pytorch.org/t/dataloader-when-num-worker-0-there-is-bug/25643/37我的情况是在PyTorch 1.9.1,CUDA 11.1, RTX 3090 显卡上出现这个问题。解决方法: 将 pin_memory=True 该为 False。...
2021-10-10 23:00:21
2019
转载 latex: 修改编辑器中的字体(winedt)
1.在编辑器工具栏空白处 右键->左键点击 第一个选项卡。2.点击进去,会在左边边框。找到如下font选项3.双击进去,找到FONT_NAME=“Courier New”FONT_SIZE=10FONT_BOLD=0FONT_ITALIC=0FONT_CHARSET=1修改 font_size = 15(字体变大),修改完毕要保存。4.然后在font选项上右键->Load Script5.完成!不要忘记 LoadScriptReference:http://blo
2021-03-03 19:55:04
4219
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人