自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 运行core失败,请看日志

运行core失败,请看日志,尝试了将将默认的10808改成10100、更新、重新下载等方法,都没用。

2024-01-21 09:50:23 1975

原创 奇异值分解SVD真的能压缩图片吗?

SVD能否压缩图片(文件大小)?

2023-12-23 11:16:51 450

原创 Edge浏览器鼠标滚轮过于灵敏/速度过快解决方法

使用Edge浏览器时鼠标滚轮过于灵敏,导致翻页速度过快,使用Chrome浏览器时则没有这种现象。

2023-08-26 09:41:35 3261 2

原创 Repo id must use alphanumeric chars or ‘-‘, ‘_‘, ‘.‘, ‘--‘ and ‘..‘ are forbidden, ‘-‘ and ‘.‘ canno

虽然该错误说的是Repo ID必须使用字母数字字符或者'-'、'_'、'...',禁止使用'--'和'...','-'和'...'不能作为名称的开始或结束,但也。Repo ID必须使用字母数字字符或者'-'、'_'、'...',禁止使用'--'和'...','-'和'...'不能作为名称的开始或结束,最大长度为96。

2023-07-13 11:34:31 6755

原创 win11 任务栏图标重叠/混乱/异常/闪烁/乱动 解决方法

问题:Windows11系统任务栏图标异常,图标位置变了而且重叠在一起,有时候会乱跳,如下图所示。

2023-07-12 13:36:54 18584 10

原创 单机游戏出现 D3D Compiler Module can‘t be found 解决方法

问题:运行单机游戏时出现 D3D Compiler Module can't be found。

2023-07-07 11:11:14 187 1

原创 python使用KNeighborsClassifier出现FutureWarning: Unlike other reduction functions (e.g. `skew`, `kurtosi

FutureWarning: Unlike other reduction functions (e.g. `skew`, `kurtosis`), the default behavior of `mode` typically preserves the axis it acts along. In SciPy 1.11.0, this behavior will change: the default value of `keepdims` will become False, the `axis`

2023-01-06 14:14:50 5736 11

原创 Latex引用网页未报错,但出现“[Z]“的可能原因

使用@Misc或@Online应用网页时没报错,但输出[Z]里出现了空格或其他字符,全部删除后即可。

2023-01-05 10:38:59 341

翻译 零样本文本分类任务的简单教程

基于huggingface的零样本文本分类Zero-shot Text Classification with Hugging Face

2022-12-29 09:47:58 1665 2

原创 Unable to load vocabulary from file. Please check that the provided vocabulary is accessible and not

无法从文件中加载词表。请检查所提供的词表是否可以访问并且没有损坏。一开始以为是下载的文件损坏了,但是重新下载之后依旧报错。猜测并非因为文件损坏报错,而是因为无法访问导致的,不过尝试之后发现没用。

2022-12-28 14:47:58 5676 3

原创 python matplotlib cannot import name ‘artist‘ from ‘matplotlib‘

问题:cannot import name 'artist' from 'matplotlib'搜索后发现可能是误删了部分文件,需要卸载matplotlib后重新安装,但是无法卸载,会出现下面的问题。Cannot uninstall matplotlib 3.4.3, RECORD file not found. You might be able to recover from this via: 'pip install --force-reinstall --no-deps matpl

2022-09-18 20:46:01 1428

原创 python xgboost 出现 FutureWarning: pandas.Int64Index is deprecated

问题:python使用xgboost 出现 FutureWarning: pandas.Int64Index is deprecated and will be removed from pandas in a future version. Use pandas.Index with the appropriate dtype instead. from pandas import MultiIndex, Int64Index 解决:版本问题,更新xgboost即可:pip install --upgr

2022-09-15 14:59:09 2084

原创 pytorch GradScaler() 出现 UserWarning: Detected call of lr_scheduler.step() before optimizer.step().

UserWarning: Detected call of lr_scheduler.step() before optimizer.step(). In PyTorch 1.1.0 and later, you should call them in the opposite order: optimizer.step() before lr_scheduler.step(). Failure to do this will result in PyTorch skipping the first val

2022-08-10 10:46:56 4075 10

原创 python 使用catboost报错: rsm on GPU is supported for pairwise modes only

rsm on GPU is supported for pairwise modes only

2022-07-14 10:27:00 837

原创 ImportError: cannot import name ‘EarlyStopping‘ from ‘pytorchtools‘ 解决方法

ImportError: cannot import name 'EarlyStopping' from 'pytorchtools'

2022-07-08 10:54:09 3448 9

原创 python将一个文件夹中的所有文件复制给多个文件夹

目标:复制“data”文件夹中的所有文件,分别粘贴给“mri”文件夹中名字为“1”、“2”……“100”的文件夹。代码如下所示

2022-06-25 21:57:01 897

转载 python中的3D热力图

Heatmaps are a great way to visualize a dataset, methods for visualizing the data are getting explored constantly and 3D heatmap is one of the ways to plot data. Let’s learn how we can plot 3D data in python.

2022-06-18 16:31:25 3776

原创 使用XGBClassifier出现Dataset is empty, or contains only positive or negative samples.错误

python使用xgboost出现Dataset is empty, or contains only positive or negative samples.错误

2022-05-22 16:43:26 773

原创 python lightgbm中使用“early_stopping_rounds”和“verbose_eval”出现 UserWarning

LightGBM早停失败,提示TypeError: fit() got an unexpected keyword argument ‘early_stopping_rounds‘UserWarning: 'early_stopping_rounds' argument is deprecated and will be removed in a future release of LightGBM.

2022-05-04 22:05:24 18434 1

原创 Spaceship Titanic——简单的预处理+LightGBM

Kaggle上的Spaceship Titanic比赛,简单的预处理+LightGMB

2022-04-25 12:40:55 2839

转载 Fold Left and Right in Python

Fold Left and Right in Python

2022-04-23 12:16:27 126

原创 Python 坐标上升法

坐标上升法——例题及修改后的代码。之前在CSDN看了几篇关于坐标上升算法的博客,都用了这个例子,但是代码实现里面的迭代部分都是错的,导致最终结果错误,现在把修改后的代码放上来供大家参考;) ......

2022-04-17 10:25:08 388

转载 VS code(Visual Studio Code)乱码解决

VS Code输出*'gcc’�����ڲ����ⲿ���Ҳ���ǿ����еij��� ���������ļ���*乱码修改方法VS Code中文输出乱码解决方法 方法一: 首先win + i,打开window设置,点击时间和语言。 点击区域选项卡内的日期时间和区域格式设置(没找到的话就页面下拉试试,在页面下面) 点击 区域 点击右边的管理 点击更改系统区域设置 勾选Beta版:使用Unicode UTF-8提供全球语言支持

2022-04-14 14:34:41 4019 6

转载 Jupyter中使用matplotlib画图出现kernel died问题

jupyter中使用matplotlib画图会导致kernel diedconda install --yes freetype=2.10.4Matplotlib依赖freetype库。

2022-04-04 21:18:56 2948 2

转载 RuntimeError: cuda runtime error (59) : device-side assert triggered(已解决)

是这样的,在跑fasterrcnn的时候,要把原模型21个类别改为自己的类别数目,第一次改过后运行没有报错,第二次再修改就报错了,错误如下1 block: [0,0,0], thread: [16,0,0] Assertion `t >= 0 && t < n_classes` failed.2 RuntimeError: cuda runtime error (59) : device-side assert triggered 网上的主要解决方法如下:造成这

2022-03-18 15:49:06 1069 1

空空如也

空空如也

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

TA关注的人

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