dosubot[bot]

Results 14171 comments of dosubot[bot]

你的 PD 配置里 `initial-store-count: 1` 理论上意味着只要有 1 个 Store 节点存活,集群就应该保持可用,但实际出现 `UNAVAILABLE: io exception` 这类错误,通常不是这个参数本身导致,而是以下常见原因: 1. PD/Store 配置不一致(如 initial-store-list、raft peers-list、端口、IP 必须完全一致),或者有节点网络不通,导致 raft 共识异常、分区分配失败,最终集群不可用。[参考](https://github.com/apache/incubator-hugegraph/issues/2847) 2. HugeGraph 1.5.0 不会自动分配分区,所有 PD/Store 节点注册、raft 选主完成后,必须手动通过 PD...

Hi @libofei2004! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the ncnn team. pnnx 不支持直接转换从 Ultralytics 下载的 yolov8.pt 模型,因为这些 .pt 文件通常是 PyTorch 的 state_dict 或自定义格式,而 pnnx 只支持 torchscript 格式(通过 torch.jit.trace 或 torch.jit.script 导出的...

你遇到的 torch.jit.trace 报错(TracingCheckError、TracerWarning)是因为 YOLOv8 模型内部有动态控制流、tensor 迭代、Python 逻辑等,导致 trace 过程无法稳定捕获模型的计算图。这是 torch.jit.trace 的已知限制,尤其在 YOLOv8 这类复杂模型上很常见 [官方说明](https://github.com/Tencent/ncnn/wiki/use-ncnn-with-pytorch-or-onnx)。 你可以尝试以下几种方法: 1. **关闭 trace 检查** trace 时加参数 `check_trace=False`,有时能跳过部分检查错误: ```python traced = torch.jit.trace(model.model, dummy_input, check_trace=False) traced.save('yolov8n_ts.pt') ```...

你的模型在安卓端卡死/崩溃,主要原因很可能是 ncnn 的 generate_proposals 函数对输出 shape 和格式有严格要求。如果模型导出后 param/bin 文件的输出 shape(比如通道数、grid 排布)和 ncnn-android-yolov8 框架预期不一致,就会导致内存越界或访问非法地址,出现 SIGSEGV 错误。 ncnn 的 generate_proposals 期望输出为三维 tensor,通道数为 255(即 85*3,3 个 anchor,每个 anchor 85 个属性),shape 应为 [grid_w, grid_h,...

ncnn 的 .param 文件本身不直接显示输出 shape,比如 [grid_w, grid_h, 255],只能通过网络结构推断或实际推理时打印输出 shape。最后一层 Concat 的输入数量通常对应 YOLOv8 检测头(一般是3个,分别对应 stride 8/16/32),比如 `Concat cat_16 3 1 ...`,而你导出的只有2个输入,说明少了一个检测头,导致输出 shape 不对,ncnn 框架就会崩溃。 正确的 yolov8n.ncnn.param 生成流程是:先用 Ultralytics 导出 torchscript,再用 pnnx...

yolov8n.torchscript 之所以要导出两次,是因为第一次导出只是把 YOLOv8 模型静态地转成 torchscript,pnnx 再把它转换成 Python 脚本(如 yolov8n_pnnx.py)。但 YOLOv8 的结构和后处理很复杂,直接导出的模型 shape、concat 方式、动态尺寸支持等都不一定符合 ncnn 框架的要求。 所以需要手动修改 pnnx 生成的 yolov8n_pnnx.py,比如把 view(1, 144, 6400) 改成 view(1, 144, -1).transpose(1, 2),调整 concat 的 axis,去掉后处理部分等,确保输出...

不用谢!如果还有其他问题,随时告诉我。 *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- How did I do? [Good](https://app.dosu.dev/response-feedback/e495c9a7-64be-47fd-b54b-7d019b6214c9?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/e495c9a7-64be-47fd-b54b-7d019b6214c9?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/e495c9a7-64be-47fd-b54b-7d019b6214c9?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/e495c9a7-64be-47fd-b54b-7d019b6214c9?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/e495c9a7-64be-47fd-b54b-7d019b6214c9?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/e495c9a7-64be-47fd-b54b-7d019b6214c9?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/e495c9a7-64be-47fd-b54b-7d019b6214c9?feedback_type=other)  [![Join Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot) [![Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/Tencent/ncnn/issues/6279)

This is a known limitation with CloudNativePG and the Barman Cloud plugin: upgrading the plugin or changing the sidecar image does not automatically trigger reconciliation or pod restarts unless there...

To search or "carry" your entire knowledge base in RAGFlow, you have several options, each with specific configurations and trade-offs: **1. Search All Files via Retrieval API** Use the `/api/v1/retrieval`...

You can maximize recall and "hit" all files/chunks in your knowledge base (especially in 'One' mode) by tuning retrieval parameters and using a clever trick: 1. **Set chunking mode to...