当前位置: 首页 > news >正文

nnUNet报错

nnUNet报错处理

Traceback (most recent call last):
  File "/opt/conda/envs/nnunet/lib/python3.11/threading.py", line 1045, in _bootstrap_inner
    self.run()
  File "/opt/conda/envs/nnunet/lib/python3.11/threading.py", line 982, in run
    self._target(*self._args, **self._kwargs)
  File "/opt/conda/envs/nnunet/lib/python3.11/site-packages/batchgenerators/dataloading/nondet_multi_threaded_augmenter.py", line 125, in results_loop
    raise e
  File "/opt/conda/envs/nnunet/lib/python3.11/site-packages/batchgenerators/dataloading/nondet_multi_threaded_augmenter.py", line 103, in results_loop
    raise RuntimeError("One or more background workers are no longer alive. Exiting. Please check the "
RuntimeError: One or more background workers are no longer alive. Exiting. Please check the print statements above for the actual error message
Exception in thread Thread-2 (results_loop):
Traceback (most recent call last):
  File "/opt/conda/envs/nnunet/lib/python3.11/threading.py", line 1045, in _bootstrap_inner
    self.run()
  File "/opt/conda/envs/nnunet/lib/python3.11/threading.py", line 982, in run
    self._target(*self._args, **self._kwargs)
  File "/opt/conda/envs/nnunet/lib/python3.11/site-packages/batchgenerators/dataloading/nondet_multi_threaded_augmenter.py", line 125, in results_loop
    raise e
  File "/opt/conda/envs/nnunet/lib/python3.11/site-packages/batchgenerators/dataloading/nondet_multi_threaded_augmenter.py", line 103, in results_loop
    raise RuntimeError("One or more background workers are no longer alive. Exiting. Please check the "
RuntimeError: One or more background workers are no longer alive. Exiting. Please check the print statements above for the actual error message
Aborted (core dumped)

原因:数据集的标签像素值是0,10,20,30…70不在 [0, num_classes-1]内,调整一下就好了。

http://www.dtcms.com/a/50165.html

相关文章:

  • 【Linux第三弹】Linux基础指令 (下)
  • 电商业务数据测试用例参考
  • 一周学会Flask3 Python Web开发-WTForms表单验证
  • Libgdx游戏开发系列教程(4)——显示中文文字
  • PARETO PROMPT OPTIMIZATION
  • 蓝桥杯每日一题:第一周周四哞叫时间
  • 基于 LeNet 网络的 MNIST 数据集图像分类
  • MicroServer Gen8再玩之三 OCP万兆光口+12G阵列卡
  • PPT 小黑第29套
  • C/C++中函数指针和指针函数的原理和区别是什么,分别通过用例说明。
  • [Python学习日记-85] 并发编程之多进程 —— Process 类、join 方法、僵尸进程与孤儿进程
  • 两个四元数叉乘与姿态旋转的关系
  • 抽奖系统(从0-1)(上)
  • node版本切换工具【nvm】
  • 大数据学习(55)-BI工具数据分析的使用
  • python19-if和match的美
  • Springboot 注入方式
  • 让单链表不再云里雾里
  • SPI驱动(一) -- SPI协议
  • 服务是否设置为开机自启动
  • 嵌入式开发:磁通门传感器开发(5):测量磁场的方法和传感器
  • Ollama存在安全风险的情况通报及解决方案
  • 【Resis实战分析】Redis问题导致页面timeout知识点分析
  • React Refs:深入理解与最佳实践
  • BUU44 [BJDCTF2020]ZJCTF,不过如此1 [php://filter][正则表达式get输入数据][捕获组反向引用][php中单双引号]
  • Python项目-基于深度学习的校园人脸识别考勤系统
  • Maven 私服的搭建与使用(一)
  • 沃丰科技结合DeepSeek大模型技术落地与应用前后效果对比
  • 内嵌踢脚线怎么做能省钱?
  • 机器学习的半监督学习,弱监督学习,自监督学习