
Computer knowledge
文章平均质量分 53
一个处女座的程序猿
2025年初博主2本新书(机器学习耗时5年/大模型耗时3年)即将开售!人工智能硕学历,拥有十多项发专利(6项)和软著(9项),包括国际期刊SCI内多篇论文,多个国家级证书(2个国三级、3个国四级),曾获国内外“人工智能算法”竞赛(包括国家级省市级等,一等奖5项、二等奖4项、三等奖2项)证书十多项,以上均第一作者身份,并拥有省市校级个人荣誉证书十多项。目前也是国内知名博主,连续3年获CSDN十大博客之星,荣获达摩院评测官、阿里社区/CSDN/华为社区等十多个开发者社区专家博主荣誉,曾受邀阿里/华为/谷歌等社区采访-评审-论坛几十次。截止2022年,AI领域粉丝超100万,文章阅读量超5000万
展开
-
安装Eric7之成功解决ImportError: DLL load failed while importing Qsci 找不到指定的程序
安装Eric7之成功解决ImportError: DLL load failed while importing Qsci 找不到指定的程序目录解决问题解决思路解决方法解决问题Traceback (most recent call last): File "D:\ProgramData\eric7-24.12\install.py", line 2430, in main(sys.argv) File "D:\ProgramData\e原创 2024-12-25 23:59:43 · 1321 阅读 · 0 评论 -
安装Eric7之成功解决PyQt could not be imported. Please make sure it is installed and accessible
安装Eric7之成功解决PyQt could not be imported. Please make sure it is installed and accessible目录解决问题解决思路解决方法解决问题PyQt could not be imported. Please make sure it is installed and accessible解决思路eric7 报错显示 "PyQt could not be imported. Please ma原创 2024-12-25 23:47:01 · 1289 阅读 · 0 评论 -
成功解决GPU和Cuda环境下执行torch.__version__输出2.0.1+cpu而不是正确版本(如2.1.0+cu121)等类似问题?
成功解决GPU和Cuda环境下执行torch.__version__输出2.0.1+cpu而不是正确版本(如2.1.0+cu121)等类似问题?目录解决问题解决思路解决方法解决问题GPU和Cuda环境下执行torch.__version__输出2.0.1+cpu而不是正确版本(如2.1.0+cu121)等类似问题import torchprint(torch.__version__)print(torch.version.cuda)print(torch.cuda原创 2024-12-25 23:36:45 · 1089 阅读 · 0 评论 -
成功解决pip list为什么会出现系统中所有conda环境的依赖包,而不是指定某个conda环境的依赖包
成功解决pip list为什么会出现系统中所有conda环境的依赖包,而不是指定某个conda环境的依赖包目录解决问题解决思路解决方法解决问题pip list出现系统中所有conda环境的依赖包,而不是指定某个conda环境下的依赖包解决思路出现这种情况的原因可能是因为你没有正确激活指定的 Conda 环境。当 Conda 环境没有正确激活时,pip list 会列出系统默认的 Python 环境中的所有包,而不是你想要的特定环境中的包。解决方法1、激原创 2024-12-25 23:21:25 · 1063 阅读 · 0 评论 -
成功解决This application failed to start because it could not find or load the Qt platform plugin “windo
成功解决This application failed to start because it could not find or load the Qt platform plugin “windows” in "!Reinstalling the application may fix this problem.目录解决问题解决思路解决方法解决问题This application failed to start because it could not find or原创 2024-12-25 23:17:56 · 1197 阅读 · 0 评论 -
成功解决move import (move_argmax, move_argmin, move_max, move_mean, move_median,AttributeError: _ARRAY_A
成功解决move import (move_argmax, move_argmin, move_max, move_mean, move_median,AttributeError: _ARRAY_API not found目录解决问题解决思路解决方法解决问题A module that was compiled using NumPy 1.x cannot be run inNumPy 2.0.2 as it may crash. To support both 1.x and原创 2024-12-13 23:59:55 · 1009 阅读 · 0 评论 -
成功解决ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C he
成功解决ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject目录解决问题解决思路解决方法解决问题File "D:\ProgramData\Anaconda3\Lib\site-packages\pandas\__init__.py", line 22, in f原创 2024-12-13 23:58:17 · 1929 阅读 · 1 评论 -
LLMs:大模型算法专家&架构师必读—从系统架构和技术栈的角度深度剖析如何搭建一个类似ChatGPT的大模型界面应用—明确需求与目标→分层设计技术架构(数据层/模型层/后端层/前端层)→架构实现(后端
LLMs:大模型算法专家&架构师必读—从系统架构和技术栈的角度深度剖析如何搭建一个类似ChatGPT的大模型界面应用—明确需求与目标(确定应用功能和范围/功能需求/非功能需求)→分层设计技术架构(数据层/模型层/后端层/前端层)→架构实现(后端开发/前端开发/模型部署/数据库与日志系统/系统部署与运维)→项目开发与上线计划→总结与反思(阶段性/持续性)之详细攻略导读:在本文中,博主将带领大家深入探讨如何从系统架构和技术栈的角度,搭建一个类似ChatGPT的大模型界面应用。文章首先明确了应用的需求与目标,原创 2024-12-12 23:26:51 · 2767 阅读 · 0 评论 -
成功解决logs is not a directory [Op:CreateSummaryFileWriter] name
成功解决logs is not a directory [Op:CreateSummaryFileWriter] name目录解决问题解决思路解决方法解决问题tensorflow.python.framework.errors_impl.FailedPreconditionError: {{function_node __wrapped__CreateSummaryFileWriter_device_/job:localhost/replica:0/task:0/device原创 2024-11-29 00:45:23 · 866 阅读 · 0 评论 -
AI之CUDA:解读cudnn_version.h文件—管理 cuDNN 的版本控制及支持设备信息/为后续兼容性检查提供基础
AI之CUDA:解读cudnn_version.h文件—管理 cuDNN 的版本控制及支持设备信息/为后续兼容性检查提供基础目录解读脚本内容版本定义定义版本号:定义了 cuDNN 主版本号 8、次版本号 8 和补丁级别 1#define CUDNN_MAJOR 8#define CUDNN_MINOR 8#define CUDNN_PATCHLEVEL 1计算版本号:将主版本号、次版本号和补丁级别计算为一个整型值(如 8801 表示版本 8.8.1)#define原创 2024-11-29 00:41:55 · 803 阅读 · 0 评论 -
成功解决raise ValueError(f“Table ‘{self.name}‘ already exists.“) ValueError: Table ‘titanic_df‘ already
成功解决raise ValueError(f"Table '{self.name}' already exists.") ValueError: Table 'titanic_df' already exists.目录解决问题解决思路解决方法解决问题报错提示 ValueError: Table 'titanic_df' already exists. 表明在向 SQLite 数据库中写入数据时,表 titanic_df 已经存在。可以在插入数据之前先检查表是否存在,如果存在原创 2024-11-29 00:39:47 · 930 阅读 · 0 评论 -
成功解决raise ImportError(msg) ImportError: Missing optional dependency ‘pytables‘. Use pip or conda to
成功解决raise ImportError(msg) ImportError: Missing optional dependency 'pytables'. Use pip or conda to install pytables目录解决问题解决思路解决方法解决问题raise ImportError(msg)ImportError: Missing optional dependency 'pytables'. Use pip or conda to install p原创 2024-11-29 00:37:40 · 877 阅读 · 0 评论 -
成功解决raise ValueError(“No objects to concatenate“)ValueError: No objects to concatenate
成功解决raise ValueError("No objects to concatenate")ValueError: No objects to concatenate目录解决问题解决思路解决方法解决问题raise ValueError("No objects to concatenate") ValueError: No objects to concatenate解决思路根据报错信息,问题的根本原因是 pd.get_dummies(df_X[non_n原创 2024-11-29 00:39:43 · 1342 阅读 · 0 评论 -
成功解决Failed to import transformers.modeling_tf_utils because of the following error (look up to see i
成功解决Failed to import transformers.modeling_tf_utils because of the following error (look up to see its traceback):Your currently installed version of Keras is Keras 3, but this is not yet supported in Transformers. Please install the backwards-compatible原创 2024-12-01 20:29:33 · 2183 阅读 · 0 评论 -
成功解决TypeError: __init__() got an unexpected keyword argument ‘sparse‘
成功解决TypeError: __init__() got an unexpected keyword argument 'sparse'目录解决问题解决思路解决方法解决问题TypeError: __init__() got an unexpected keyword argument 'sparse'解决思路错误信息指出OneHotEncoder的构造函数__init__接收到一个意外的关键字参数sparse。这通常意味着使用的scikit-learn版本不支持spar原创 2024-11-30 15:06:43 · 2024 阅读 · 0 评论 -
成功解决刁钻bug问题—数据穿越的问题之在子函数内部使用重载dataframe格式的全局变量并执行赋值等相关操作
成功解决刁钻bug问题—数据穿越的问题之在子函数内部使用重载dataframe格式的全局变量并执行赋值等相关操作目录解决问题解决思路解决方法解决问题在子函数内部使用重载dataframe并执行赋值等相关操,导致数据穿越的问题在Python中,如果你希望在子函数内部使用重载的DataFrame格式的全局变量并进行赋值等操作,可以采取以下方法:解决思路在子函数内部使用重载dataframe格式的全局变量,会导致数据本身更改,其原因主要是被赋值,后续调用全局变量,内容原创 2024-10-27 23:28:28 · 1065 阅读 · 0 评论 -
成功解决将txt文档中的所有的换行符\n替换为实际的回车换行操作
成功解决将txt文档中的所有的换行符\n替换为实际的回车换行操作目录解决问题解决方法解决问题将txt文档中的所有的换行符\n,按照行回车操作,即执行实际的回车换行操作解决方法在word文档中,ctrl+H 快捷键,选项:\n替换为:^p全部替换即可实现!原创 2024-10-20 23:57:48 · 3936 阅读 · 0 评论 -
成功解决llama_cpp_for_codeshell-master\common\common.cpp(1106,55): error C2059: 语法错误:“)”\build\common\co
成功解决llama_cpp_for_codeshell-master\common\common.cpp(1106,55): error C2059: 语法错误:“)”\build\common\common.vcxproj目录解决问题解决思路解决方法解决问题[E:\File_Python\Python_NLP\codeshell-main\llama_cpp_for_codeshell-master\build\common\common.vcxproj] sampling.原创 2024-10-17 23:33:14 · 1146 阅读 · 0 评论 -
成功解决The server encountered an internal error and was unable to complete your request. Either the ser
成功解决The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application目录解决问题解决思路解决方法解决问题500原创 2024-10-17 02:59:50 · 1913 阅读 · 0 评论 -
Pycharm:pycharm工具使用技巧之成功解决pycharm软件中按住Ctrl+点击指定函数却不能跳转到对应库中的源代码
成功解决pycharm软件中按住Ctrl+点击指定函数却不能跳转到对应库中的源代码目录解决问题解决方法解决问题在pycharm软件中按住Ctrl+点击指定函数却不能跳转到对应库中的源代码解决方法原创 2024-10-17 23:30:49 · 1350 阅读 · 0 评论 -
成功解决Windows桌面点击底部工具栏一直卡住没反应
成功解决Windows桌面点击底部工具栏一直卡住没反应目录解决问题解决方法解决问题Windows桌面点击底部工具栏一直卡住没反应解决方法T1、Ctrl+Alt+Del打开任务管理器→进程→关闭Windows资源管理器T2、cmd命令重启taskkill /f /im explorer.exe & explorer.exe原创 2024-10-17 02:59:10 · 1092 阅读 · 0 评论 -
成功解决win11系统升级后指纹识别的触摸指纹传感器设置无反应(图文教程)
成功解决win11系统升级后指纹识别的触摸指纹传感器设置无反应(图文教程)目录解决问题解决思路解决方法解决问题win11系统升级后指纹识别的触摸指纹传感器设置无反应解决思路指纹传感器设置无反应,如果系统升级前可用,系统升级后不可用,那么,一般都是驱动程序不兼容导致的问题。解决方法T1、重新安装驱动程序如果更新驱动程序未解决问题,尝试卸载指纹传感器驱动程序,然后重新安装。您可以在设备管理器中右键单击指纹传感器,选择“卸载设备”,然后重新启动计算机。T2、更新驱动原创 2024-10-17 02:58:40 · 2717 阅读 · 0 评论 -
成功解决module ‘zhipuai‘ has no attribute ‘model_api‘
成功解决module 'zhipuai' has no attribute 'model_api'目录解决问题解决思路解决方法解决问题module 'zhipuai' has no attribute 'model_api'解决思路模块“zhipuai”没有“model_api”函数解决方法官方API文档地址:智谱AI开放平台1、查询文档根据文档提示,可知调用 charglm-3 时,需要使用 1.0.7 版本或更低版本的 SDKimport zhipu原创 2024-10-17 02:57:55 · 1250 阅读 · 0 评论 -
成功解决This graphics driver could not find compatible graphics hardware. You maycontinue installation,
成功解决This graphics driver could not find compatible graphics hardware. You maycontinue installation, but you may not be able to run CUDA applications with thisdriver. This may occur with graphics hardware that is newer than this toolkit. lInthat case, it原创 2024-07-25 01:15:29 · 1752 阅读 · 0 评论 -
成功解决AssertionError: Timestamps must be monotonically increasing, got 2024-06-28T16:07:31.185238+00:0
成功解决AssertionError: Timestamps must be monotonically increasing, got 2024-06-28T16:07:31.185238+00:00 > 如果使用外部库管理时间戳,可以在每次调用时增加一些微秒,以确保时间戳是唯一且递增的。根据错误信息,问题出在时间戳没有单调递增,这意味着两个相同的时间戳被记录在日志中。>> 确保每个消息的时间戳是唯一的。原创 2024-06-29 00:21:57 · 1401 阅读 · 0 评论 -
成功解决TypeError: __call__() got an unexpected keyword argument ‘first_int‘
成功解决TypeError: __call__() got an unexpected keyword argument 'first_int'目录解决问题解决思路解决方法解决问题result = multiply(**arguments)File "D:\ProgramData\Anaconda3\Lib\site-packages\langchain_core\_api\deprecation.py", line 168, in warning_emitti原创 2024-06-28 01:42:04 · 1491 阅读 · 0 评论 -
成功解决\torch\cuda_init_.py“, line 239,AssertionError(“Torch not compiled with CUDA enabled“)
成功解决\torch\cuda_init_.py", line 239, in _lazy_init raise AssertionError("Torch not compiled with CUDA enabled")目录解决问题解决思路解决方法解决问题\torch\cuda_init_.py", line 239, in _lazy_init raise AssertionError("Torch not compiled with CUDA enable原创 2024-06-15 11:32:44 · 1839 阅读 · 0 评论 -
成功解决TypeError: multiple bases have instance lay-out conflict
成功解决TypeError: multiple bases have instance lay-out conflict目录解决问题解决思路解决方法解决问题TypeError: multiple bases have instance lay-out conflictTraceback (most recent call last):File "E:\File_Python\Python_daydayup\20230927.py", line 11, in原创 2024-06-05 00:25:43 · 1386 阅读 · 0 评论 -
成功解决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'解决方法第一次尝试,猜测pandas和dask不兼容的问题导致!pip uninstall pandaspip uninstall原创 2024-06-05 00:21:28 · 1533 阅读 · 0 评论 -
成功解决CUDA Setup failed despite GPU being available. Inspect the CUDA SETUP outputs above to fix your
成功解决CUDA Setup failed despite GPU being available. Inspect the CUDA SETUP outputs above to fix your environment!目录解决问题解决思路解决方法解决问题===================================BUG REPORT===================================Welcome to bitsandbytes. For原创 2024-05-26 00:29:19 · 1571 阅读 · 0 评论 -
成功解决name ‘round_up‘ is not defined
成功解决name 'round_up' is not defined目录解决问题解决思路解决方法解决问题name 'round_up' is not defined解决思路'round_up'函数没有定义解决方法官方地址:GitHub - OpenBMB/cpm_kernelscpm_kernels的whl下载地址:Links for cpm-kernelscpm_kernels 提供了在 NVIDIA GPU 上运行的 CUDA 内核,这些内核专门为 CPM原创 2023-12-21 22:08:31 · 1267 阅读 · 0 评论 -
成功解决No module named ‘huggingface_hub.inference._text_generation‘
成功解决No module named 'huggingface_hub.inference._text_generation'目录解决问题解决思路解决方法解决问题No module named 'huggingface_hub.inference._text_generation'解决思路没有名为'huggingface_hub.inference._text_generation'的模块解决方法相关地址:Hugging Face Integration Failur原创 2024-05-12 14:39:05 · 2694 阅读 · 1 评论 -
成功解决ImportError: cannot import name ‘builder‘ from ‘google.protobuf.internal
成功解决ImportError: cannot import name 'builder' from 'google.protobuf.internal。原创 2024-04-25 02:09:55 · 2782 阅读 · 0 评论 -
成功解决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 · 2329 阅读 · 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 · 2541 阅读 · 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 · 1412 阅读 · 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 · 1383 阅读 · 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 · 1536 阅读 · 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 · 1350 阅读 · 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 · 2735 阅读 · 0 评论