Process finished with exit code 134 (interrupted by signal 6: SIGABRT)

/Users/daosui/anaconda2/envs/py35/bin/python /Applications/PyCharm.app/Contents/helpers/pycharm/_jb_pytest_runner.py --target test.py::test_f
Launching pytest with arguments test.py::test_f in /Users/daosui/PycharmProjects/text_detection_bankcard

============================= test session starts ==============================
platform darwin -- Python 3.5.6, pytest-3.2.1, py-1.4.34, pluggy-0.4.0
rootdir: /Users/daosui/PycharmProjects/text_detection_bankcard, inifile:

Process finished with exit code 134 (interrupted by signal 6: SIGABRT)
Empty test suite.

一行一行的排查,把所有调用的py文件都run一下,看是哪个出了问题,最后定位到

from tensorflow.contrib import slim  在model.py中导入的时候就报错,但是我测试单独导入就不报错

后来我把这句移到test_fu.py文件中导入就不报这个问题了,就是提前导入。具体不知道为什么这样

猜你喜欢

转载自blog.csdn.net/u012135425/article/details/88178366
今日推荐