- 博客(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
原创 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
原创 安装acondana3, Conda command not found
安装acondana3, Conda command not found,写入路径也没找到
2024-11-06 09:06:38
512
原创 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
原创 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
原创 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
原创 linux监控显存,空闲时运行或者发邮件(更新)
linux实时监控GPU,空闲自动运行,或发邮件通知,抢占每一刻GPU资源,炼丹人必备技能。
2023-12-06 21:30:05
698
1
原创 linux,不同conda环境更pip改包安装默认路径
打开相应地址,或者找到环境地址 我的环境是chatGLM 安装的python3.11。创建conda环境后 ,想要为环境专门建立pip安装路径,以免冲突。重新进入环境 which pip 就好了。但是python环境是conda内环境。结果环境一致跟base的路径一致,按ESC,输入:wq!输入i,insert模式添加。按照很多网络上的做法。
2023-09-26 20:46:56
892
原创 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关注的人