forrtl: error (200): program aborting due to control-C event

Posted AI浩

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了forrtl: error (200): program aborting due to control-C event相关的知识,希望对你有一定的参考价值。

问题描述

在使用TensorRT模型做推理的时候,出现了如下错误:

forrtl: error (200): program aborting due to control-C event

解决方法

安装或升级scipy

pip install --upgrade scipy

如果安装失败,则加上国内源再试。
运行结果:

(base) PS D:\\TrackAndReID\\Yolov5-Deepsort-Fastreid-main> pip install --upgrade scipy -i https://pypi.tuna.tsinghua.edu.cn/simple                                                                              
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple, https://pypi.ngc.nvidia.com                                              
Requirement already satisfied: scipy in d:\\users\\wh109\\anaconda3\\lib\\site-packages (1.9.1)
Collecting scipy
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/d0/96/4f6eac3fea18f836a0e403539556b1684e6f3361fa39aa5d5797dedecd75/scipy-1.9.3-cp39-cp39-win_amd64.whl (40.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.2/40.2 MB 521.8 kB/s eta 0:00:00
Requirement already satisfied: numpy<1.26.0,>=1.18.5 in d:\\users\\wh109\\anaconda3\\lib\\site-packages (from scipy) (1.21.6)
Installing collected packages: scipy
  Attempting uninstall: scipy
    Found existing installation: scipy 1.9.1
    Uninstalling scipy-1.9.1:
      Successfully uninstalled scipy-1.9.1
Successfully installed scipy-1.9.3

以上是关于forrtl: error (200): program aborting due to control-C event的主要内容,如果未能解决你的问题,请参考以下文章

forrtl:严重(157):程序异常 - 访问冲突

forrtl:严重(179):无法分配数组 - 数组大小计算溢出

/etc/aliases 使用管道运行脚本返回错误 (mailer=prog, dsn=5.3.0, stat=unknown mailer error 2)

Forrtl: severe(157): Program Exception - access violation

导入scipy.stats后,Ctrl-C崩溃了Python

请教Xilinx 芯片配置问题:使用芯片xc3s200a vq100,flash为W25P40,JTAG烧bit文件OK,SPI口烧写FLASH不成功