
DEBUG
欣欣影像科研速递
这个作者很懒,什么都没留下…
展开
-
[DEBUG] pytorch 加速安装兼容cuda12.6版本(Torch CUDA is not available )
使用国内镜像源可以极大提升 PyTorch 安装速度,特别是在网络条件不佳的情况下。通过配置 pip 镜像和使用交大 PyTorch 镜像源,能够快速完成不同版本 PyTorch 的安装。希望这篇文章能对你的 PyTorch 使用带来帮助!如有问题,欢迎在评论区讨论交流。原创 2024-12-11 11:57:01 · 6104 阅读 · 0 评论 -
[debug]不同的window连接ubuntu的vscode后无法正常加载kernel
进入conda环境重新安装kernel:原创 2024-11-21 09:24:46 · 418 阅读 · 0 评论 -
[DEBUG]AttributeError: module ‘numpy‘ has no attribute ‘bool‘?
AttributeError: module 'numpy' has no attribute 'bool'?"numpy.bool 已被弃用。建议降级到 1.23.1 版本。作为替代,有一个 numpy.bool_(带下划线)。一个对我有用的小技巧是这样做的:import numpy as npnp.bool = np.bool_这样处理有点粗糙,但对我来说有效。原创 2024-11-11 11:20:21 · 187 阅读 · 0 评论 -
[DEBUG]生存分析 Censoring survival function is zero at one or more time points
在使用 scikit-survival 进行生存分析时,可能会遇到 "Censoring survival function is zero at one or more time points" 错误。此错误通常是由于测试集中的生存时间超出了训练集的最大生存时间范围,导致无法计算相应时间点的生存函数。为了解决该问题,本文提供了以下解决方案:通过筛选或截断测试集中的生存时间,确保其不超过训练集的最大生存时间,从而避免生存函数为零的情况。该方法有效提升了生存分析模型的稳定性和可靠性。原创 2024-10-15 09:49:22 · 411 阅读 · 0 评论 -
[DEBUG] VS Code Bad owner or permissions ssh远程连接服务器报错:Could not establish connection to
[DEBUG] VS Code Bad owner or permissions ssh远程连接服务器报错:Could not establish connection to原创 2024-10-11 14:25:39 · 128 阅读 · 0 评论 -
[DEBUG] TypeError: object.__new__(onedal._onedal_py_host.svm.classification.model) is not safe, use
debug TypeError: object.__new__(onedal._onedal_py_host.svm.classification.model) is not safe, use onedal._onedal_py_host.svm.classification.model.__new__()原创 2024-09-20 16:03:28 · 233 阅读 · 0 评论 -
[DEBUG] ImportError: cannot import name ‘if_delegate_has_method‘ from ‘sklearn.utils.metaestimators‘
ImportError: cannot import name 'if_delegate_has_method' from 'sklearn.utils.metaestimators' eli5问题解决,debug原创 2024-06-19 14:51:24 · 1404 阅读 · 4 评论