会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
mactor
博客园
首页
新随笔
联系
订阅
管理
2025年6月
Ubuntu下VMamba环境配置:详细步骤与错误解决方案
摘要: 本篇博客记录了成功配置VMamba的步骤和环境,以及在分类任务训练时遇到的错误及其解决方案。
阅读全文
posted @ 2025-06-10 23:05 Mactor
阅读(50)
评论(0)
推荐(0)
2024年10月
VSCode + Python + Shell 调试 (Debug) : debugpy
摘要: 使用VSCode对一个用Shell脚本启动的Python程序进行Debug.
阅读全文
posted @ 2024-10-19 16:50 Mactor
阅读(1142)
评论(0)
推荐(0)
2024年9月
VSCode 在新的目录编译运行Java文件报错: Error: Could not find or load main class
摘要: 在新的目录编译运行java文件,提示无法找到主类。 而在旧的目录下,可以正常运行。 解决方案: 参考自 https://stackoverflow.com/questions/57857855/could-not-find-or-load-main-class-vs-code#comment1021
阅读全文
posted @ 2024-09-25 19:22 Mactor
阅读(139)
评论(0)
推荐(0)
2024年7月
常用镜像源 | Linux, anaconda, huggingface, pip 等
摘要: pypi, pip, anaconda, github, huggingface 镜像
阅读全文
posted @ 2024-07-10 13:53 Mactor
阅读(3361)
评论(0)
推荐(0)
2024年6月
在Powershell或CMD中使用conda命令
摘要: 在Windows的Powershell中直接使用conda命令。
阅读全文
posted @ 2024-06-11 13:47 Mactor
阅读(1894)
评论(0)
推荐(0)
2024年5月
PyTorch loss写法的版本变更 | IndexError: invalid index of a 0-dim tensor. Use `tensor.item()` in Python or `tensor.item<T>()` in C++ to convert a 0-dim tensor to a number
摘要: 自己遇到了这个问题,记录一下 以下写法 print_loss = loss.data[0] 在PyTorch>=0.5时,报错 IndexError: invalid index of a 0-dim tensor. Use tensor.item() in Python or tensor.ite
阅读全文
posted @ 2024-05-11 19:06 Mactor
阅读(55)
评论(0)
推荐(0)
公告