自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(34)
  • 收藏
  • 关注

原创 第三届世界科学智能大赛新能源赛道:新能源发电功率预测-数据处理心得体会1

比赛输入数据来自三个不同的气象预报数据,数据格式为nc,共8个变量,需要注意气象源NWP_2的变量与另外两个稍有不同。每个文件是第二天北京时间0点开始的未来24小时气象预报,时间间隔1小时,文件名的日期表示预报发布日期,如20240101.nc是2024年1月1日发布的,对1月2日的预报。输出结果 dict_keys(['time', 'channel', 'data', 'lat', 'lon', 'lead_time'])1个站点 - 对应3个不同机构的气象源数据 NWP_1,NWP_2,NWP_3。

2025-04-19 22:31:03 1266 1

原创 TypeError: __init__() got an unexpected keyword argument ‘device_type‘

TypeError: __init__() got an unexpected keyword argument 'device_type'

2025-04-01 23:57:06 560

原创 word写latex-Mathtype安装成功-方法

想在word写latexMathtype,网上搜教程安装,结果一直报错一直删重来,一直报错一直删了重来一直报错一直删了重来来来,就这么反反复复一直不好网上的教程都是教你不是删mathtype, 就是删office时代变了啊,大家的win 都自带office,打开的时候看看,一般是office365这时候,请大家去英文官网测试过不用翻墙。

2025-03-26 16:45:01 635

原创 module ‘pickle‘ has no attribute ‘_Pickler‘ (most likely due to a circular import)

module 'pickle' has no attribute '_Pickler' (most likely due to a circular import)

2025-03-25 12:17:11 631

原创 大模型训练微调需要显存mark

大模型训练微调需要显存mark

2025-02-23 21:58:35 139

原创 RuntimeError: “replication_pad3d_cuda“ not implemented for ‘BFloat16‘

RuntimeError: "replication_pad3d_cuda" not implemented for 'BFloat16' 报错解决方法

2025-02-18 04:21:21 455

原创 当comfyui-reactor-node 安装失败urllib.error.HTTPError: HTTP Error 403: Forbidden解决方法

comfyUI 节点comfyui-reactor-node 安装 python install 时报错urllib.error.HTTPError: HTTP Error 403: Forbidden 如下:

2025-01-14 12:22:39 921

原创 当conda新建不了环境An unexpected error has occurred. Conda has prepared the above report.,解决方法

当conda新建不了环境An unexpected error has occurred. Conda has prepared the above report.,解决方法

2025-01-11 21:26:38 396

原创 redis 写入权限配置

redis写入问题

2024-11-09 12:08:22 953

原创 解决 Fail to pip install mlc-llm

解决 Fail to pip install mlc-llm

2024-11-06 10:31:02 889

原创 安装acondana3, Conda command not found

安装acondana3, Conda command not found,写入路径也没找到

2024-11-06 09:06:38 512

原创 大模型+量化,显存占用计算

每次选择大模型,int8 int4都要思考到底自己能不能跑,今天mark一个计算结果留着自己看

2024-10-27 10:00:00 349

原创 3.python

学会 vscode 远程连接 internstudio 打断点调试 python 程序。学习 python 虚拟环境的安装。Python 的基本语法。

2024-07-06 20:27:10 330

原创 “ValueError: Path is not a directory: output/checkpoint-1500” transformer- wandb 大坑 自用mark

ValueError: Path is not a directory: output/checkpoint-1500wandb: ERROR Error uploading "/home/ruiy/.local/share/wandb/artifacts/staging/tmpoq_g6rdh": CommError, wandb: ERROR Uploading artifact file failed. Artifact won't be committed.

2024-06-13 14:11:59 544

原创 `NCCL_P2P_DISABLE=“1“` and `NCCL_IB_DISABLE=“1“ 及NCCL 安装方法

NotImplementedError: Using RTX 4000 series doesn't support faster communication broadband via P2P or IB. Please set `NCCL_P2P_DISABLE="1"` and `NCCL_IB_DISABLE="1" or use `accelerate launch` which will do this automatically. 报错解决方案 安装nccl

2024-06-10 23:22:36 1916

原创 Python packages hash not matching whilst installing using pip

2pip 安装报错mark。

2024-05-10 12:37:01 872 1

原创 python plt库画图不显示中文,Linux系统解决办法

如果没有字体显示中文需要给系统下载一个中文字体。找到两个引号之间的名字填入下方。

2024-05-09 13:17:45 1953

原创 不规范数据 夹杂特殊字符 数据处理万精油(24.6.15更新)

数据预处理 :数据异常值,异常符号,简单有效的处理方式

2024-05-09 12:44:52 241

原创 AttributeError: module ‘torch‘ has no attribute ‘compile‘

AttributeError: module 'torch' has no attribute 'compile' bug 小记

2024-04-18 16:54:41 1549 1

原创 Jupyter小坑 给自己的小记

python在jupyter里数据展示非常直观,都很喜欢用jupyter来调试,后来才发现 已调用的库,如果更新了 jupyter需要重启。用jupyter调用库自己些的库,报错。更改更改库,更新库后,仍然报错。库更新需要jupyter重启。不然会反复报同样的错误!

2024-04-17 17:57:15 215

原创 大语言模型什么都不回答,不妨试试

LLMs不回答问题怎么办

2024-03-25 23:39:26 398 1

原创 ValueError: Data must be 1-dimensional, got ndarray of shape (26418, 1) instead

ValueError: y_true and y_pred have different number of output (1!=2) ;ValueError: Data must be 1-dimensional, got ndarray of shape (26418, 1) instead深度学习 输入y格式报错的解决方案。

2024-02-24 10:07:02 1353 1

原创 git 上传文件,error: failed to push some refs to ‘github.com:...git‘

git上传老报错,记一个

2024-01-08 17:31:23 505 1

原创 不使用梯子下载huggingface模型——使用镜像下载

不使用梯子下载huggingface模型

2024-01-07 03:55:45 9772 3

原创 调用本地魔塔Chatglm3的 api,FastAPI

利用fastAPI搭建 本地魔塔 chatglm3 api ,并调用

2023-12-11 18:03:32 1726 1

原创 魔塔命令下载的模型路径

这一层是模型的发布者名字。

2023-12-07 21:57:09 1546 1

原创 linux监控显存,空闲时运行或者发邮件(更新)

linux实时监控GPU,空闲自动运行,或发邮件通知,抢占每一刻GPU资源,炼丹人必备技能。

2023-12-06 21:30:05 698 1

原创 conda环境下安装nvcc -V

conda 环境下nvcc安装方法 23.12.5亲测有效

2023-12-05 10:28:48 18471 8

原创 Python 大根堆

【代码】Python 大根堆。

2023-11-30 02:40:20 196

原创 linux,不同conda环境更pip改包安装默认路径

打开相应地址,或者找到环境地址 我的环境是chatGLM 安装的python3.11。创建conda环境后 ,想要为环境专门建立pip安装路径,以免冲突。重新进入环境 which pip 就好了。但是python环境是conda内环境。结果环境一致跟base的路径一致,按ESC,输入:wq!输入i,insert模式添加。按照很多网络上的做法。

2023-09-26 20:46:56 892

原创 记录matplotlib 不显示中文解决方案

解决ubuntu matplotlib中文字体乱码、不显示问题 - 知乎

2023-09-25 16:59:05 158 1

原创 PostgreSQL RDBMS connections on Unix domain socket “/var/run/postgresql/.s.PGSQL.5432“?初次进入和修改配置些坑

data_directory 不要在config文件里面修改,当开了监听,可能会直接导致无法正常使用psql命令,在这里被坑了一个多小时。如果改了,发生报错执行以下命令。输入 /usr/lib/postgresql/12/bin/initdb -D /home/XXX。这个过程是再重新定向你的data_directory,并将psql在这里初始化。这个是添加的数据库用户,和linux用户名相同就行,下次就可以登陆了。要有root 权限可以直接进入。进入su postgres。进入postgres。

2023-09-21 21:36:00 603

原创 JSONDecodeError: Extra data: line 4 column 2 (char 545) json逐条存入后,读取报错解决办法

JSONDecodeError: Extra data: line 4 column 2 (char 545) json逐条存入后,读取报错解决办法

2023-09-06 17:28:04 487 1

原创 ChatGLM2-6B从本地加载模型报错-解决办法

ChatGLM2-6b大模型本地部署报错解决方案OSError: /chatglm2-6b does not appear to have a file named config.json. Checkout 'https://huggingface.co/chatglm2-6b/None' for available files.

2023-09-06 15:56:51 12710 13

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除