Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin: NailongRemove #2953

Closed
Refound-445 opened this issue Sep 14, 2024 · 19 comments · Fixed by #2972
Closed

Plugin: NailongRemove #2953

Refound-445 opened this issue Sep 14, 2024 · 19 comments · Fixed by #2972
Labels
Plugin Publish Plugin

Comments

@Refound-445
Copy link
Contributor

Refound-445 commented Sep 14, 2024

PyPI 项目名

nonebot-plugin-nailongremove

插件 import 包名

nonebot_plugin_nailongremove

标签

[{"label":"图像分类模型","color":"#5269ea"}]

插件配置项

No response

@Refound-445 Refound-445 added the Plugin Publish Plugin label Sep 14, 2024
@shoucandanghehe
Copy link
Contributor

别开新issue了,直接编辑就行

@noneflow
Copy link
Contributor

noneflow bot commented Sep 14, 2024

📃 商店发布检查结果

Plugin: NailongRemove

✅ 所有测试通过,一切准备就绪!

详情
  • ✅ 项目 nonebot-plugin-nailongremove 已发布至 PyPI。
  • ✅ 项目 主页 返回状态码 200。
  • ✅ 标签: 图像分类模型-#5269ea。
  • ✅ 插件类型: application。
  • ✅ 插件支持的适配器: nonebot.adapters.onebot.v11。
  • ✅ 插件 加载测试 通过。

  • 💡 如需修改信息,请直接修改 issue,机器人会自动更新检查结果。
    💡 当插件加载测试失败时,请发布新版本后在当前页面下评论任意内容以触发测试。

    ♻️ 评论已更新至最新检查结果

    💪 Powered by NoneFlow

    @Decrabbityyy
    Copy link

    需要补充插件元数据
    https://nonebot.dev/docs/developer/plugin-publishing#%E5%A1%AB%E5%86%99%E6%8F%92%E4%BB%B6%E5%85%83%E6%95%B0%E6%8D%AE

    @yanyongyu
    Copy link
    Member

    看上去插件的安装有点问题,测试跑不起来

    @yanyongyu
    Copy link
    Member

    你插件依赖里填了tensorflow似乎并未使用

    noneflow bot pushed a commit that referenced this issue Sep 21, 2024
    @noneflow noneflow bot changed the title Plugin: nonebot-plugin-nailongremove Plugin: NailongRemove Sep 21, 2024
    Copy link

    不容易

    noneflow bot pushed a commit that referenced this issue Sep 21, 2024
    @yanyongyu
    Copy link
    Member

    插件依赖的 nb2 版本应该是 2.2.0+,pillow、torch 和 torchvision 不应该写死版本,aiohttp 似乎没看到使用。你的模型权重放错了位置吧,应该放在插件目录下。模型推理应该加上 with torch.inference_mode()

    @Refound-445
    Copy link
    Contributor Author

    插件依赖的 nb2 版本应该是 2.2.0+,pillow、torch 和 torchvision 不应该写死版本,aiohttp 似乎没看到使用。你的模型权重放错了位置吧,应该放在插件目录下。模型推理应该加上 with torch.inference_mode()

    1

    @yanyongyu
    Copy link
    Member

    你GitHub仓库里的代码是不是没更新

    @Refound-445
    Copy link
    Contributor Author

    你GitHub仓库里的代码是不是没更新

    已更

    @yanyongyu
    Copy link
    Member

    你的模型权重没有打包到包里?这样用户怎么使用

    noneflow bot pushed a commit that referenced this issue Sep 24, 2024
    @Refound-445
    Copy link
    Contributor Author

    你的模型权重没有打包到包里?这样用户怎么使用

    noneflow bot pushed a commit that referenced this issue Sep 24, 2024
    @yanyongyu
    Copy link
    Member

    你获取模型路径的方式不正确 https://github.com/Refound-445/nonebot-plugin-nailongremove/blob/a945f951f16a7216f60212349477956233d03966/nonebot_plugin_nailongremove/model.py#L49

    应该是 Path(__file__).parent / "xxx.pth"

    @Refound-445
    Copy link
    Contributor Author

    你获取模型路径的方式不正确 https://github.com/Refound-445/nonebot-plugin-nailongremove/blob/a945f951f16a7216f60212349477956233d03966/nonebot_plugin_nailongremove/model.py#L49

    应该是 Path(__file__).parent / "xxx.pth"

    @yanyongyu
    Copy link
    Member

    你的仓库没有更新

    @Refound-445
    Copy link
    Contributor Author

    你的仓库没有更新

    noneflow bot pushed a commit that referenced this issue Sep 26, 2024
    noneflow bot pushed a commit that referenced this issue Sep 26, 2024
    @yanyongyu
    Copy link
    Member

    https://github.com/Refound-445/nonebot-plugin-nailongremove/blob/e001804c5dae8fd56a2a3912154503e7605fa43b/nonebot_plugin_nailongremove/model.py#L57

    你这个路径是干啥用的。。。我给你的路径写法就是替代这个的。是相同的效果。

    noneflow bot pushed a commit that referenced this issue Sep 26, 2024
    noneflow bot pushed a commit that referenced this issue Sep 28, 2024
    noneflow bot pushed a commit that referenced this issue Sep 29, 2024
    noneflow bot pushed a commit that referenced this issue Sep 30, 2024
    noneflow bot pushed a commit that referenced this issue Oct 1, 2024
    noneflow bot pushed a commit that referenced this issue Oct 2, 2024
    noneflow bot pushed a commit that referenced this issue Oct 4, 2024
    noneflow bot pushed a commit that referenced this issue Oct 4, 2024
    noneflow bot pushed a commit that referenced this issue Oct 5, 2024
    noneflow bot pushed a commit that referenced this issue Oct 5, 2024
    noneflow bot pushed a commit that referenced this issue Oct 6, 2024
    noneflow bot pushed a commit that referenced this issue Oct 7, 2024
    noneflow bot pushed a commit that referenced this issue Oct 8, 2024
    noneflow bot pushed a commit that referenced this issue Oct 8, 2024
    noneflow bot pushed a commit that referenced this issue Oct 8, 2024
    noneflow bot pushed a commit that referenced this issue Oct 9, 2024
    noneflow bot pushed a commit that referenced this issue Oct 10, 2024
    noneflow bot pushed a commit that referenced this issue Oct 10, 2024
    noneflow bot pushed a commit that referenced this issue Oct 14, 2024
    noneflow bot pushed a commit that referenced this issue Oct 14, 2024
    @yanyongyu
    Copy link
    Member

    @Refound-445 是否有更新?

    noneflow bot pushed a commit that referenced this issue Oct 16, 2024
    @Refound-445
    Copy link
    Contributor Author

    @Refound-445 是否有更新?

    已更新

    noneflow bot pushed a commit that referenced this issue Oct 18, 2024
    noneflow bot pushed a commit that referenced this issue Oct 18, 2024
    noneflow bot pushed a commit that referenced this issue Oct 18, 2024
    @noneflow noneflow bot closed this as completed in #2972 Oct 18, 2024
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    Plugin Publish Plugin
    Development

    Successfully merging a pull request may close this issue.

    4 participants