zl程序教程

您现在的位置是:首页 >  其它

当前栏目

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

Error to Event 200 Control program due
2023-09-14 09:05:45 时间

问题描述

在使用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