ModelScope这个错误如何解决?

ModelScope这个错误如何解决?runtimeerror: An attempt has been made to start a new process before the current process has finished its bootstrapping phase. This probably means that you are not using fork to start your child processes and you have forgotten to use the proper idiom in the main module: if name == 'main': freeze_support() ... The "freeze_support()" line can be omitted if the program is not going to be frozen to produce an executable.image.png
image.png
MGeo地址相似度匹配实体对齐

展开
收起
真的很搞笑 2024-05-08 08:09:41 110 分享 版权
1 条回答
写回答
取消 提交回答
  • cfg.train.dataloader.workers_per_gpu=0
    cfg.evaluation.dataloader.workers_per_gpu=0 ,此回答整理自钉群“魔搭ModelScope开发者联盟群 ①”

    2024-05-08 09:18:21
    赞同 展开评论

ModelScope旨在打造下一代开源的模型即服务共享平台,为泛AI开发者提供灵活、易用、低成本的一站式模型服务产品,让模型应用更简单!欢迎加入技术交流群:微信公众号:魔搭ModelScope社区,钉钉群号:44837352

还有其他疑问?
咨询AI助理