1 2 3 4 5 ··· 40 下一页
摘要: scp是cure copy的缩写,用于在linux下进行远程文件拷贝 基于ssh登录,确保数据的安全性和完整性 usage: scp [-C][-r][-F ssh_config] [-l limit] [-P port] [[user@]host1:]file1 ... [[user@]host2 阅读全文
posted @ 2024-08-22 14:26 慕尘 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 1.下载并安装netCDF-C https://downloads.unidata.ucar.edu/netcdf/ 安装目录D:\software\netCDF4.9.2 2.下载netCDF-Fortran 3.编译netCDF-Fortran (1)解压源代码netcdf-fortran-4. 阅读全文
posted @ 2024-08-20 22:50 慕尘 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 1.下载并安装 Visual Studio2022 选择选择了C++桌面开发 2.下载并安装 Intel oneAPI Base Toolkit https://www.intel.com/content/www/us/en/developer/tools/oneapi/base-toolkit-d 阅读全文
posted @ 2024-08-15 23:47 慕尘 阅读(3) 评论(0) 推荐(0) 编辑
摘要: linux下统计文件数量使用命令 ls -1 | wc -l 或 find . -type f | wc -l 阅读全文
posted @ 2024-07-18 09:04 慕尘 阅读(3) 评论(0) 推荐(0) 编辑
摘要: Python 的 apscheduler 今天出现 skipped: maximum number of running instances reached (1) 问题产生的原因: 前一个任务未完成, 在只有一个线程的情况下,max_instances 默认值为 1 解决方法: 调整APSched 阅读全文
posted @ 2024-05-13 23:39 慕尘 阅读(481) 评论(0) 推荐(0) 编辑
摘要: 今天将程序部署到服务器,遇到 mysql.connector.errors.NotSupportedError: Authentication plugin 'caching_sha2_password' is not supported 问题产生的原因: 从MySQL 8.0开始,默认的用户认证插 阅读全文
posted @ 2024-05-13 23:25 慕尘 阅读(77) 评论(0) 推荐(0) 编辑
摘要: 在Java中想进行下面的查询,不想写循环一条条查 select id,name,address,age from users where name='A' and address='addr1' select id,name,address,age from users where name='B' 阅读全文
posted @ 2024-05-11 23:27 慕尘 阅读(82) 评论(0) 推荐(0) 编辑
摘要: RAG(Retrieval-Augmented Generation)模型是一种结合了检索和生成的深度学习模型 主要由两部分组成:检索模块和生成模块 检索模块负责从知识库中检索出与输入相关的信息 生成模块则根据检索到的信息生成输出 应用领域:问答系统,文档摘要和推荐任务,对话系统,文本翻译等 阅读全文
posted @ 2024-04-28 13:22 慕尘 阅读(30) 评论(0) 推荐(0) 编辑
摘要: spaCy是一个基于Python编写的开源自然语言处理库。 基于自然处理领域的最新研究,spaCy提供了一系列高效且易用的工具,用于文本预处理、文本解析、命名实体识别、词性标注、句法分析和文本分类等任务。 安装 pip install spacy 查看版本 import spacy print(sp 阅读全文
posted @ 2024-04-25 13:22 慕尘 阅读(165) 评论(0) 推荐(0) 编辑
摘要: Python里的optparse是一个强大的命令行选项解析库 argument -- 参数 在命令行中输入的字符串,并会被 shell 传给 execl() 或 execv() 在 Python 中,参数将是 sys.argv[1:] 的元素 注: sys.argv[0] 是被执行的程序的名称 fr 阅读全文
posted @ 2024-04-14 23:44 慕尘 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 使用conda 创建环境时遇到 'ReadTimeoutError("HTTPSConnectionPool(host='repo.anaconda.com', port=443): Read timed out. (read timeout=9.15)")' 镜像源修改成了清华镜像,但还是访问的默 阅读全文
posted @ 2024-04-11 23:05 慕尘 阅读(434) 评论(0) 推荐(0) 编辑
摘要: Anaconda切换到清华镜像源 conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/ conda config --add channels https://mirrors.tuna 阅读全文
posted @ 2024-04-11 22:12 慕尘 阅读(1238) 评论(0) 推荐(0) 编辑
摘要: 今天发现在新电脑上的mysql新插入的数据自增id不是连续的,步长为2 查看当前步长 show variables like '%increment%'; auto_increment_increment 2auto_increment_offset 1 1.使用命令修改 set @@global. 阅读全文
posted @ 2024-04-02 12:45 慕尘 阅读(96) 评论(0) 推荐(0) 编辑
摘要: 今天发现刚移植过来的代码,数据库链接报错 connect ECONNREFUSED ::1:3306,把localhost解析成了 ::1,这是因为windows11中IPv6优先级设置高于IPv4 解决方法,修改数据库配置 const database = { HOST: '127.0.0.1', 阅读全文
posted @ 2024-04-02 11:57 慕尘 阅读(201) 评论(0) 推荐(0) 编辑
摘要: npm走国外的镜像,非常的慢,所以可以设置为淘宝镜像 查看当前仓库镜像 > npm config get registry https://registry.npmjs.org/ 设置淘宝仓库镜像 npm config set registry https://registry.npmmirror. 阅读全文
posted @ 2024-04-01 15:19 慕尘 阅读(128) 评论(0) 推荐(0) 编辑
1 2 3 4 5 ··· 40 下一页