- 博客(10)
- 收藏
- 关注
原创 Git LFS使用记录
Git LFS 不是完全免费的,有容量限制。可以在repo的setting下archive里面查看,没开启的需要开启。此时可以发现多了一个 .gitattributes 文件,记录了track的信息。在常规git add前,需要将lfs相关的信息commit。记录大文件,通常为.bin 或者.pkl格式。也可以输入以下命令直接查看。可能是梯子端口没配置好。在此之后进行常规操作。
2024-03-20 13:30:27
348
1
原创 wsl ubuntu安装报错 0x80370102解决
win10 系统,由于之前装过又卸过一次wsl,此次装wsl2和Ubuntu20.04的时候踩了一些坑,在此记录一下。主要报错代码为 0x80370102。
2023-10-19 12:05:42
2156
6
原创 Pytorch入门
You can’t do any in-place operations on a tensor that has . (This prevents you from inadvertently mutating it in a way that isn’t tracked for backprop purposes.)You also can’t convert a tensor with to numpy (for the same reason as above). Instead, you nee
2023-06-20 17:08:09
69
原创 服务器Anaconda安装
conda create -n name python=3.8.0创建虚拟环境。conda activate name 转到对应python kernel。conda remove -n name --all 删除虚拟环境。输入:bash anaconda…conda info -e查看创建虚拟环境。先去Anaconda官网下载.sh安装包。conda ls 查看所含有的包。在服务器中导航至对应文件夹下,
2023-05-16 19:47:58
276
1
原创 求最大公因数的三种算法及简要说明
求最大公因数的三种算法及简要说明1、连续整数法从给定的最小的数开始按1递减,直至找到一个能被两者都整除的数。public static int gcd1(int x, int y){ int min = Math.min(x,y); while (x%min!=0|| y%min!=0){ min--; } return min; }2、辗转相除法也叫欧几里得算法,两个整数的最大公约数等于其中较小的
2021-03-08 23:39:11
7757
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人