有麻烦请先笑笑

萩 x H

我的时间很少,但我却有很多想法

摘要: 命令记录 # 列举磁盘列表 df -h # 查看所有文件,包括隐藏文件 ls -a 问题解决 1.域名解析出现报错:域名解析暂时失败 可能是因为配置DNS文件有问题,我们sudo vim /etc/resolv.conf,配置namesever为我们指定的DNS地址。 2.Ubantu重装后网络配置 阅读全文
posted @ 2024-03-18 09:37 萩xh 阅读(2) 评论(0) 推荐(0) 编辑
摘要: codeblock用法以及调试教程 codeblock两种创建文件的方式: 1.直接建一个空白文件 这种方式创建新文件的缺点是不能调试,debug是灰色的不能点 第二种创建文件的方式:新建一个项目project 创建一个空项目 同样新建一个空白文件,只不过这种方法会提示你是否要把这个文件放在项目里 阅读全文
posted @ 2024-03-04 17:53 萩xh 阅读(46) 评论(0) 推荐(0) 编辑
摘要: 机试刷题记录 一、刷题 L1-007 念数字 题目链接:https://pintia.cn/problem-sets/994805046380707840/exam/problems/994805136889593856?type=7&page=0 错误答案: 错误原因:格式不会 题解: 怎么按照正 阅读全文
posted @ 2024-02-29 11:11 萩xh 阅读(52) 评论(0) 推荐(0) 编辑
摘要: 1.Episodic training & Batch training https://zhuanlan.zhihu.com/p/84290146 2.FSL在FER问题上的过拟合问题 Note that, different from popular FSL tasks (such as ima 阅读全文
posted @ 2024-02-24 21:47 萩xh 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 问题分析: 当我们第一次使用vscode+anaconda虚拟环境来运行项目时,一般会报错no module name 'torch'这样的错误,尽管我们已经切换vscode使用的环境为正确的环境也还是不行。这个问题是因为我们在vscode中运行项目是在终端运行的,但如果这个终端是powershel 阅读全文
posted @ 2024-01-10 19:24 萩xh 阅读(100) 评论(0) 推荐(0) 编辑
摘要: 1. anaconda https://zhuanlan.zhihu.com/p/123188004 1.1 anaconda环境变量的配置 https://blog.csdn.net/weixin_43914658/article/details/108785084 2. cuda https:/ 阅读全文
posted @ 2024-01-03 14:56 萩xh 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 参考自博客SSH连接服务器断网后重新查看原训练进程 1.创建一个运行窗口screen screen -S screen_name 这样你就会打开一个独立的运行窗口 2.在这个独立的窗口中进行训练 3.查看创建的运行窗口 screen -ls 4.打开一个运行窗口 screen -D -r scree 阅读全文
posted @ 2023-12-05 22:44 萩xh 阅读(18) 评论(0) 推荐(0) 编辑
摘要: 从零训练一个神经网络 2023-04-12 1.读取训练数据 # 读取数据 # 这一步类似预处理,将图片裁剪成64*64大小 data_dir = "./data" # 字典语法 dict = {a:b} # Scale已经被删除,用Resize代替 data_transform = {x: tra 阅读全文
posted @ 2023-04-12 16:01 萩xh 阅读(34) 评论(0) 推荐(0) 编辑
摘要: 环境相关 conda env list #列举环境 conda info --env # 同上 conda info --e # 同上 conda create -n env_name python=3.7 # 创建环境 conda remove -n env_name --all # 删除环境 c 阅读全文
posted @ 2023-01-05 11:41 萩xh 阅读(31) 评论(0) 推荐(0) 编辑
摘要: https://s1.ax1x.com/2022/05/13/OrwaSP.png https://s1.ax1x.com/2022/05/13/Orw0OS.png https://s1.ax1x.com/2022/05/13/OrwdQf.png https://s1.ax1x.com/2022 阅读全文
posted @ 2022-05-13 11:24 萩xh 阅读(66) 评论(0) 推荐(0) 编辑