当前位置: 首页 > 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]内,调整一下就好了。

相关文章:

  • 【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协议
  • 服务是否设置为开机自启动
  • 成都必去的十大景点/西安优化排名推广
  • 网站建设小组五类成员/中美关系最新消息
  • php做网站的公司有哪些/网络媒体广告代理
  • 南部网站建设/公司推广宣传文案
  • 广西壮族自治区建设厅网站/信息流广告优化
  • 淘宝客导购网站 丢单/免费网页空间到哪申请