05 2021 档案

摘要:1.从原目录移动到新目录 https://my.oschina.net/u/4387680/blog/4318430 https://www.jianshu.com/p/84c798d046a9 拷贝完文件之后修改路径的操作: 1..bashrc中的所有原换为新 vi ~/.bashrc sourc 阅读全文
posted @ 2021-05-27 14:38 lypbendlf 阅读(401) 评论(0) 推荐(0) 编辑
摘要:1.复制 https://qastack.cn/superuser/61611/how-to-copy-with-cp-to-include-hidden-files-and-hidden-directories-and-their-contents cp -r /etc/skel/* /home/ 阅读全文
posted @ 2021-05-27 14:04 lypbendlf 阅读(418) 评论(0) 推荐(1) 编辑
摘要:https://blog.csdn.net/yusiguyuan/article/details/15027821 阅读全文
posted @ 2021-05-27 13:51 lypbendlf 阅读(22) 评论(0) 推荐(0) 编辑
摘要:转自:https://zhuanlan.zhihu.com/p/119400472 https://zhuanlan.zhihu.com/p/187463036 1.相关函数 #include <sys/epoll.h> int epoll_create(int size); int epoll_c 阅读全文
posted @ 2021-05-27 13:34 lypbendlf 阅读(62) 评论(0) 推荐(0) 编辑
摘要:1.作图 https://www.cnblogs.com/zpc1001/p/13322902.html # 每一个epoch,记录各层权重、梯度 for name, param in net.named_parameters(): # 返回网络的 writer.add_histogram(name 阅读全文
posted @ 2021-05-27 12:35 lypbendlf 阅读(3716) 评论(0) 推荐(0) 编辑
摘要:转自:https://www.jianshu.com/p/4818a1a4b5bd 1.介绍 Dataset类是为torch.utils.data.DataLoader做准备,支持两种类型的访问 * map-style datasets #__getitem__() * iterable-style 阅读全文
posted @ 2021-05-27 12:22 lypbendlf 阅读(650) 评论(0) 推荐(0) 编辑
摘要:1.UMAP降维 https://zhuanlan.zhihu.com/p/150788883 在使用UMAP时不需要像t-sne那样先通过AE/PCA降到一定的维度再去第二次降维, https://zhuanlan.zhihu.com/p/109584077 阅读全文
posted @ 2021-05-27 01:33 lypbendlf 阅读(1026) 评论(0) 推荐(0) 编辑
摘要:1.pytorch 的nn.Linear 参数初始化方法 m=nn.Linear(3, 4) print(m.weight) print(m.bias) #输出 Parameter containing: tensor([[ 1.7056e-01, -4.5271e-01, 1.5907e-01], 阅读全文
posted @ 2021-05-26 16:14 lypbendlf 编辑
摘要:转自:https://www.huaweicloud.com/articles/64e2a426a2d4fe45b7be305791fe2839.html 1.表示范围 https://blog.csdn.net/u013760665/article/details/98520702 正整数用原码表 阅读全文
posted @ 2021-05-26 12:30 lypbendlf 阅读(493) 评论(0) 推荐(0) 编辑
摘要:1.描述符表与socket 每个socket都有一个描述符,指向对应socket的结构,但是对这个sockfd的读写是怎么和缓冲区以及文件连接起来的呢? 数据结构: https://www.kernel.org/doc/htmldocs/networking/API-struct-socket.ht 阅读全文
posted @ 2021-05-25 13:35 lypbendlf 阅读(614) 评论(0) 推荐(0) 编辑
摘要:转自:https://murphypei.github.io/blog/2019/08/socket-ready https://blog.csdn.net/kyang_823/article/details/79496303 0.socket缓冲区 https://blog.csdn.net/ta 阅读全文
posted @ 2021-05-25 12:00 lypbendlf 阅读(735) 评论(0) 推荐(1) 编辑
摘要:转自:https://blog.csdn.net/DLUTBruceZhang/article/details/9050467 https://www.cnblogs.com/yc3110/p/10440613.html 1.用户与操作系统关系 在用户空间中的进程要通过系统调用才能访问系统资源。系统 阅读全文
posted @ 2021-05-25 09:17 lypbendlf 阅读(1778) 评论(3) 推荐(0) 编辑
摘要:转自:https://blog.csdn.net/qq_31815507/article/details/115673210 1.阻塞与非阻塞 阻塞IO,指的是需要内核IO操作彻底完成后,才返回到用户空间执行用户的操作。阻塞指的是用户空间程序的执行状态。传统的IO模型都是同步阻塞IO。 非阻塞是忙、 阅读全文
posted @ 2021-05-24 21:36 lypbendlf 阅读(114) 评论(0) 推荐(0) 编辑
摘要:1.IO读写原理 https://blog.csdn.net/qq_31815507/article/details/115673210 用户程序进行IO读写,依赖于操作系统底层的IO读写,基本上会用到底层的read&write两大系统调用。read系统调用,并不是直接从物理设备把数据读取到内存中, 阅读全文
posted @ 2021-05-24 18:34 lypbendlf 阅读(343) 评论(0) 推荐(0) 编辑
摘要:1.查看mysql的运行状态 systemctl status mysql.service 2.安装与初始化 https://t.codebug.vip/questions-691282.htm sudo apt install mysql-server mysql-client #同时安装服务器和 阅读全文
posted @ 2021-05-24 01:10 lypbendlf 阅读(47) 评论(0) 推荐(0) 编辑
摘要:1.Linux内核子系统 https://blog.csdn.net/qq_36016407/article/details/73558361 系统调用子系统、进程管理、虚拟文件子系统、内存管理、网络管理。 Linux内核中各个子系统相互依赖,当其中某个子系统状态发生改变时,就必须使用一定的机制告知 阅读全文
posted @ 2021-05-24 00:53 lypbendlf 阅读(326) 评论(0) 推荐(0) 编辑
摘要:转自:https://www.cnblogs.com/aiguona/p/7281739.html 1.初始化与操作 #include <deque> deque<int>s1; deque<string>s2; deque<node>s3; /*node为结构体,可自行定义。*/ //a) 构造函 阅读全文
posted @ 2021-05-22 17:09 lypbendlf 阅读(283) 评论(0) 推荐(0) 编辑
摘要:1.可视化 https://docs.ray.io/en/master/tune/user-guide.html#tune-autofilled-metrics 在训练期间,除用户提供的值外,Tune还将自动记录以下指标。 所有这些都可以用作停止条件,或作为参数传递给Trial Schedulers 阅读全文
posted @ 2021-05-20 13:48 lypbendlf 阅读(58) 评论(0) 推荐(0) 编辑
摘要:1.版本 python3.7 conda create -n sc_37 python=3.7 pytorch1.4.0 torchvision0.5.0 conda install pytorch torchvision cudatoolkit=10.0 -c pytorch tensorboar 阅读全文
posted @ 2021-05-19 11:35 lypbendlf 阅读(450) 评论(0) 推荐(0) 编辑
摘要:1.问题 Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory; LD_LIB 阅读全文
posted @ 2021-05-18 15:49 lypbendlf 阅读(5252) 评论(0) 推荐(0) 编辑
摘要:1.尝试解决 https://stackoverflow.com/questions/49175406/jupyter-notebook-operationalerrordisk-i-o-error ipython profile create #但报错 ImportError: No module 阅读全文
posted @ 2021-05-14 10:00 lypbendlf 阅读(1247) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示