Computer knowledge
文章平均质量分 51
一个处女座的程序猿
人工智能硕博学历,拥有十多项发明专利(6项)和软著(9项),包括国际期刊SCI内多篇论文,多个国家级证书(2个国三级、3个国四级),曾获国内外“人工智能算法”竞赛(包括国家级省市级等,一等奖5项、二等奖4项、三等奖2项)证书十多项,以上均以第一作者身份,并拥有省市校级个人荣誉证书十多项。目前也是国内知名博主,连续3年获CSDN十大博客之星,荣获达摩院评测官、阿里社区/CSDN社区/51CTO/华为社区等十多个开发者社区专家博主荣誉,曾受邀阿里/华为/谷歌等社区采访-评审-论坛几十次。截止2022年,AI领域粉丝超100万,文章阅读量超5000万。正在撰写《AI算法最新实战》一书,目前已30万字
展开
-
成功解决import win32gui ImportError: DLL load failed while importing win32gui: 找不到指定的程序
成功解决import win32gui ImportError: DLL load failed while importing win32gui: 找不到指定的程序目录解决问题解决思路解决方法解决问题import win32gui ImportError: DLL load failed while importing win32gui: 找不到指定的程序解决思路import win32gui导入错误:导入win32gui时加载DLL失败解决方法表明 Pytho原创 2024-03-17 03:29:42 · 807 阅读 · 0 评论 -
成功解决If this call came from a _pb2.py file, your generated code is out of date and must be regenerate
数值型属性使用簇内所有对象的属性均值作为新的聚类中心,而类别型属性则使用出现频率最高的类别作为新的聚类中心。>> 距离计算方法:K-prototype算法使用欧氏距离计算数值型数据之间的距离,使用海明距离或简化的曼哈顿距离计算类别型数据之间的距离,具体采用了一种基于众数的距离计算方法,将分类型变量的距离定义为两个变量不同取值的数量。2、要求整理后的内容,把重复的内容尽量去掉,同时逻辑更加通顺,条理更加清楚,要尽量在表达清楚的同时尽量简约一下内容,但是前后逻辑一定要非常合理,上下文要足够连贯和条理清楚。原创 2024-03-16 01:50:47 · 790 阅读 · 0 评论 -
成功解决AttributeError: module ‘pdpbox.info_plots‘ has no attribute ‘target_plot‘
成功解决AttributeError: module 'pdpbox.info_plots' has no attribute 'target_plot'原创 2024-03-09 23:59:12 · 1024 阅读 · 1 评论 -
成功解决TypeError: cannot unpack non-iterable TargetPlot object
> 如果 TargetPlot 函数确实应该返回三个值,那么你可能需要检查 pdpbox 库的版本,因为可能存在 bug 或者函数行为在不同的版本中有所不同。如果你查看 pdpbox 的文档或源代码,你应该能够找到确切的信息。>> 如果 TargetPlot 函数返回的确实只是一个对象,你需要根据库的文档来正确地处理这个对象。错误表明 info_plots.TargetPlot 函数没有返回三个值(fig, axes, summary_df),而是返回了一个 TargetPlot 对象。原创 2024-03-09 23:55:58 · 1036 阅读 · 0 评论 -
成功解决AttributeError: ‘CountVectorizer‘ object has no attribute ‘get_feature_names‘
成功解决AttributeError: 'CountVectorizer' object has no attribute 'get_feature_names'目录解决问题解决思路解决方法解决问题AttributeError: 'CountVectorizer' object has no attribute 'get_feature_names'解决思路属性错误:'CountVectorizer'对象没有属性'get_feature_names'解决方法参考地址:s原创 2024-01-07 20:28:41 · 936 阅读 · 0 评论 -
成功解决AttributeError: ‘EntitySet‘ object has no attribute ‘entity_from_dataframe‘
成功解决AttributeError: 'EntitySet' object has no attribute 'entity_from_dataframe'属性错误:'EntitySet'对象没有属性'entity_from_dataframe'目前只是猜测,估计应该是 featuretools==1.0之前的版本。原创 2024-03-01 00:11:22 · 1078 阅读 · 1 评论 -
成功解决AttributeError: module ‘pandas.core.strings‘ has no attribute ‘StringMethods‘
成功解决AttributeError: module 'pandas.core.strings' has no attribute 'StringMethods'目录解决问题解决思路解决方法解决问题AttributeError: module 'pandas.core.strings' has no attribute 'StringMethods'解决思路属性错误:module 'pandas.core。string '没有属性'StringMethods'解决方法是原创 2024-03-01 00:09:46 · 1738 阅读 · 0 评论 -
成功解决scipy.optimize._optimize.BracketError: The algorithm terminated without finding a valid bracket.
成功解决scipy.optimize._optimize.BracketError: The algorithm terminated without finding a valid bracket. Consider trying different initial points.目录解决问题解决思路解决方法解决问题scipy.optimize._optimize.BracketError: The algorithm terminated without finding原创 2024-02-27 00:02:23 · 1405 阅读 · 2 评论 -
成功解决pydantic.errors.PydanticImportError: `BaseSettings` has been moved to the `pydantic-settings` pa
成功解决pydantic.errors.PydanticImportError: `BaseSettings` has been moved to the `pydantic-settings` package目录解决问题解决思路解决方法解决问题pydantic.errors.PydanticImportError: `BaseSettings` has been moved to the `pydantic-settings` package解决思路pydantic导入错误原创 2024-02-21 21:57:08 · 1436 阅读 · 0 评论 -
成功解决Server responded “algorithms negotiation failed. “Key exchange with the remote host failed. This
您可以编辑 sshd_config 文件,以确保服务器端支持您所需的算法,或者编辑 ssh_config 文件以确保客户端选择适当的算法。通常,这种问题是由于远程主机和本地主机之间支持的加密算法不匹配或协商失败引起的。通常,这种问题是由于远程主机和本地主机之间支持的加密算法不匹配或协商失败引起的。如果使用的是一个SSH客户端,尝试使用另一个不同的SSH客户端(例如PuTTY)来连接到远程主机,以查看是否有不同的结果。如果您没有控制远程主机的配置,可以尝试联系远程主机的管理员,让他们检查并修复算法协商问题。原创 2024-01-29 00:08:17 · 1075 阅读 · 0 评论 -
成功解决TypeError: can‘t multiply sequence by non-int of type ‘float‘
成功解决TypeError: can't multiply sequence by non-int of type 'float'目录解决问题解决思路解决方法解决问题TypeError: can't multiply sequence by non-int of type 'float'解决思路类型错误:不能将sequence乘以“float”类型的非整数解决方法两个数据类型不一致,不能够进行multiply运算!重新检查输入数据类型,本原创 2024-01-07 20:10:46 · 1000 阅读 · 0 评论 -
成功解决numpy.linalg.LinAlgError: singular matrix
成功解决numpy.linalg.LinAlgError: singular matrix目录解决问题解决思路解决方法解决问题numpy.linalg.LinAlgError: singular matrix解决思路线性错误:奇异矩阵。可知,当前矩阵不可逆,解决方法这个错误通常表示在进行线性代数运算时,你的代码遇到了一个奇异矩阵(singular matrix)。奇异矩阵是一个行列式为零的方阵,其逆矩阵不存在。这个问题可能有多种原因,取决于你的具体代码和数据。以原创 2023-12-15 00:53:29 · 1650 阅读 · 0 评论 -
成功解决ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 96 from C
成功解决ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject目录解决问题解决思路解决方法解决问题ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 96 from C h原创 2023-11-25 00:02:59 · 891 阅读 · 0 评论 -
成功解决ERROR: Cannot uninstall ‘llvmlite‘. It is a distutils installed project and thus we cannot accur
成功解决ERROR: Cannot uninstall 'llvmlite'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.目录解决问题解决思路解决方法解决问题ERROR: Cannot uninstall 'llvmlite'. It原创 2023-11-25 00:02:25 · 962 阅读 · 0 评论 -
成功解决from numba.np.ufunc import _internal SystemError: initialization of _internal failed without rai
成功解决from numba.np.ufunc import _internal SystemError: initialization of _internal failed without raising an exception目录解决问题解决思路解决方法解决问题from numba.np.ufunc import _internalSystemError: initialization of _internal failed without raising an exc原创 2023-11-25 00:02:09 · 1906 阅读 · 0 评论 -
成功解决405 Method Not Allowed. The method is not allowed for the requested URL.
成功解决405 Method Not Allowed. The method is not allowed for the requested URL.目录解决问题解决思路解决方法解决问题 405 Method Not Allowed Method Not Allowed The method is not allowe原创 2023-11-04 21:21:00 · 2237 阅读 · 0 评论 -
成功解决fatal error: stdatomic.h: No such file or directory #include <stdatomic.h>
成功解决fatal error: stdatomic.h: No such file or directory #include 目录解决问题解决思路解决方法解决问题I llama.cpp build info:I UNAME_S: LinuxI UNAME_P: x86_64I UNAME_M: x86_64I CFLAGS: -I. -Icommon -D_XOPEN_SOURCE=600 -D_GNU_SOURCE -DND原创 2023-11-06 20:28:28 · 2276 阅读 · 0 评论 -
成功解决/bin/sh: cc: command not found和/bin/sh: g++: command not found
成功解决/bin/sh: cc: command not found和/bin/sh: g++: command not found目录解决问题解决思路解决方法解决问题make: cc: Command not found/bin/sh: cc: command not foundexpr: syntax errorexpr: syntax errormake: cc: Command not foundI llama.cpp build info:I UNAME_S:原创 2023-11-06 20:28:59 · 2413 阅读 · 0 评论 -
成功解决ImportError: cannot import name ‘PEFT_TYPE_TO_MODEL_MAPPING‘ from ‘peft.peft_model‘ (D:\ProgramD
成功解决ImportError: cannot import name 'PEFT_TYPE_TO_MODEL_MAPPING' from 'peft.peft_model' (D:\ProgramData\Anaconda3\Lib\site-packages\peft\peft_model.py)目录解决问题解决思路解决方法解决问题ImportError: cannot import name 'PEFT_TYPE_TO_MODEL_MAPPING' from 'peft.pe原创 2023-10-31 22:52:01 · 1063 阅读 · 0 评论 -
成功解决ImportError: cannot import name ‘Row‘ from ‘sqlalchemy‘ (D:\ProgramData\Anaconda3\Lib\site-packa
成功解决ImportError: cannot import name 'Row' from 'sqlalchemy' (D:\ProgramData\Anaconda3\Lib\site-packages\sqlalchemy\__init__.py)目录解决问题解决思路解决方法解决问题from sqlalchemy import Column, Integer, Row, String, create_engine, selectImportError: cannot im原创 2023-10-31 22:42:53 · 1433 阅读 · 0 评论 -
成功解决InvalidKeyException: Invalid characters in key: nlp_model\m3e-base_from_huggingfaceb318a7ec-e997
错误信息 "langchain.storage.exceptions.InvalidKeyException: Invalid characters in key",似乎是因为你的文件路径包含了不合法的字符,导致无法作为键来使用。需要确保键值只包含有效的字符,并且不包含特殊字符或路径分隔符。如果你无法避免在文件路径中使用特殊字符,可以尝试使用转义字符来处理它们,例如将\转义为双斜杠\\或者反斜杠/)、星号 (*),或其他不能用作键的字符。检查文件路径中的特殊字符和空格:确保文件路径中没有特殊字符,如。原创 2023-10-31 22:31:38 · 839 阅读 · 0 评论 -
成功解决HTTPSConnectionPool(host=‘huggingface.co‘, port=443): Max retries exceeded with url:LocalEntryNo
HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url:LocalEntryNotFoundError: Connection error, and we cannot find the requestedfiles in the disk cache. Please try again or make sure your Internet connection is on.目录解决原创 2023-10-20 23:38:56 · 7952 阅读 · 3 评论 -
成功解决Failed to import transformers.models.vision_encoder_decoder.modeling_vision_encoder_decoder beca
成功解决Failed to import transformers.models.vision_encoder_decoder.modeling_vision_encoder_decoder because of the following error (look up to see its traceback):目录解决问题解决思路解决方法解决问题RuntimeError: Failed to import transformers.models.vision_encoder_d原创 2023-10-20 23:38:31 · 1780 阅读 · 0 评论 -
成功解决AttributeError: module ‘lib‘ has no attribute ‘OpenSSL_add_all_algorithms‘
成功解决AttributeError: module 'lib' has no attribute 'OpenSSL_add_all_algorithms'目录解决问题解决思路解决方法解决问题RuntimeError: Failed to import transformers.models.vision_encoder_decoder.modeling_vision_encoder_decoder because of the following error (look up原创 2023-10-20 23:38:11 · 1552 阅读 · 0 评论 -
成功解决ModuleNotFoundError: No module named ‘docx.text.hyperlink‘
成功解决ModuleNotFoundError: No module named 'docx.text.hyperlink'目录解决问题解决方法解决问题No module named 'docx.text.hyperlink'"。这个错误通常表示你的代码中缺少了一个名为"docx.text.hyperlink"的模块pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --upgrade python-docx解决方法原创 2023-10-20 23:37:49 · 1938 阅读 · 1 评论 -
成功解决OSError: [E050] Can‘t find model ‘en_trf_bertbaseuncased_lg‘. It doesn‘t seem to be a Python pac
成功解决OSError: [E050] Can't find model 'en_trf_bertbaseuncased_lg'. It doesn't seem to be a Python package or a valid path to a data directory.目录解决问题解决思路解决方法解决问题OSError: [E050] Can't find model 'en_trf_bertbaseuncased_lg'. It doesn't seem to b原创 2023-06-09 21:39:40 · 1652 阅读 · 0 评论 -
成功解决RuntimeError: [enforce fail at C:\actions-runner\_work\pytorch\pytorch\builder\windows\pytorch\c
成功解决RuntimeError: [enforce fail at C:\actions-runner\_work\pytorch\pytorch\builder\windows\pytorch\c10\core\impl\alloc_cpu.cpp:72] data. DefaultCPUAllocator: not enough memory: you tried to allocate 180355072 bytes.目录解决问题解决思路解决方法T1、减少内存需求T2原创 2023-06-02 22:43:49 · 10092 阅读 · 2 评论 -
成功解决RuntimeError: “addmm_impl_cpu_“ not implemented for ‘Half‘
成功解决RuntimeError: "addmm_impl_cpu_" not implemented for 'Half'目录解决问题解决思路解决方法解决问题torch.set_default_tensor_type(torch.HalfTensor)RuntimeError: "addmm_impl_cpu_" not implemented for 'Half'解决思路运行时错误:"addmm_impl_cpu_"未为'Half'实现在PyTorch中,半精度原创 2023-06-02 22:40:22 · 12745 阅读 · 0 评论 -
成功解决RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cpu
成功解决RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cpu and cuda:0! (when checking argument for argument index in method wrapper_CUDA__index_select)目录解决问题解决思路解决方法解决问题RuntimeError: Expected all ten原创 2023-06-02 22:38:18 · 4705 阅读 · 0 评论 -
成功解决torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 86.00 MiB (GPU 0; 2.00 GiB to
成功解决torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 86.00 MiB (GPU 0; 2.00 GiB total capacity; 1.67 GiB already allocated; 0 bytes free; 1.67 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_spl原创 2023-06-02 22:35:00 · 10539 阅读 · 0 评论 -
成功解决C._set_default_tensor_type(t) TypeError: type torch.cuda.HalfTensor not available. Torch not com
成功解决C._set_default_tensor_type(t) TypeError: type torch.cuda.HalfTensor not available. Torch not compiled with CUDA enabled.目录解决问题解决思路解决方法解决问题_C._set_default_tensor_type(t) TypeError: type torch.cuda.HalfTensor not available. Torch not comp原创 2023-06-02 22:34:28 · 1170 阅读 · 0 评论 -
成功解决Invalid VCS root mapping
成功解决Invalid VCS root mapping目录解决问题解决思路解决方法解决问题Invalid VCS root mapping解决思路VCS根映射无效解决方法"Invalid VCS root mapping" 是一个版本控制系统(Version Control System,VCS)的错误提示。这个错误通常在使用版本控制工具(如Git、Subversion等)时出现,表示配置的仓库根目录映射无效。版本控制系统通常用于跟踪和管理项目中的代码变更,允许多原创 2023-06-02 22:29:45 · 1615 阅读 · 0 评论 -
成功解决TypeError: type torch.cuda.HalfTensor not available. Torch not compiled with CUDA enabled.
成功解决TypeError: type torch.cuda.HalfTensor not available. Torch not compiled with CUDA enabled.目录解决问题解决思路解决方法解决问题_C._set_default_tensor_type(t) TypeError: type torch.cuda.HalfTensor not available. Torch not compiled with CUDA enabled.解决思原创 2023-06-02 00:59:11 · 2648 阅读 · 2 评论 -
成功解决win10系统中出现的你没有权限在此位置中保存文件,请与管理员联系以获得相应权限
成功解决win10系统中出现的你没有权限打开该文件目录解决问题解决方法解决问题解决方法将源文件复制出来,修改内容,然后覆盖到源地址,接着选择以管理员权限的方式覆盖,即可!原创 2023-06-01 22:25:37 · 1747 阅读 · 0 评论 -
成功解决Node = itree.Node AttributeError: module ‘itree‘ has no attribute ‘Node‘
成功解决Node = itree.Node AttributeError: module 'itree' has no attribute 'Node'目录解决问题解决思路解决方法解决问题Node = itree.NodeAttributeError: module 'itree' has no attribute 'Node'解决思路模块'itree'没有'Node'属性解决方法1、网友讨论及其建议参考地址:AttributeError: modul原创 2023-06-01 22:04:52 · 890 阅读 · 0 评论 -
成功解决Distributed package doesn‘t have NCCL “ “built in
成功解决Distributed package doesn't have NCCL " "built in目录解决问题解决思路解决方法解决问题Distributed package doesn't have NCCL " "built in解决思路当前环境中没有内置NCCL支持,无法初始化NCCL进程组解决方法使用PyTorch分布式训练尝试使用torch.distributed.init_process_group("nccl")初始化NCCL进程组失败,原创 2023-06-01 02:09:30 · 1739 阅读 · 0 评论 -
成功解决TypeError: ‘(slice(None, None, None), 0)‘ is an invalid key和pandas.errors.InvalidIndexError: (sl
成功解决TypeError: '(slice(None, None, None), 0)' is an invalid key和pandas.errors.InvalidIndexError: (slice(None, None, None), 0)目录解决问题解决思路解决方法解决问题TypeError: '(slice(None, None, None), 0)' is an invalid keypandas.errors.InvalidIndexError: (slic原创 2023-05-24 21:43:54 · 2085 阅读 · 0 评论 -
成功解决from numba.np.ufunc import _internal SystemError: initialization of _internal failed without ra
成功解决from numba.np.ufunc import _internal SystemError: initialization of _internal failed without raising an exception目录解决问题解决思路解决方法解决问题from numba.np.ufunc import _internal SystemError: initialization of _internal failed without raising an原创 2023-05-16 23:00:42 · 5295 阅读 · 1 评论 -
成功解决ValueError: Detected unsupported operating system: win32. Please check the compability informati
成功解决ValueError: Detected unsupported operating system: win32. Please check the compability information of auto-sklearn: https://automl.github.io/auto-sklearn/master/installation.html#windows-osx-compatibility目录解决问题解决思路解决方法解决问题ValueError: Detec原创 2023-04-20 22:58:28 · 1058 阅读 · 1 评论 -
成功解决edge浏览器显示你的组织浏览器已托管而导致的打不开网页
成功解决edge浏览器显示你的组织浏览器已托管而导致的打不开网页目录解决问题解决思路解决方法解决问题解决思路浏览器已托管这条信息表示您的 Microsoft Edge 浏览器是被组织管理的。更具体来说,是指:(1)、您的浏览器由组织的 IT 管理员进行了配置和管理。(2)、您的浏览器受到组织网络域的控制,需要通过组织账号和密码登录。(3)、您的浏览器可能安装了组织部署的浏览器扩展或应用。(4)、您的浏览器数据和设置可能需要遵循组织的规范管理。(5原创 2023-04-16 23:19:02 · 20285 阅读 · 0 评论