shenweichen / DeepCTR

Easy-to-use,Modular and Extendible package of deep-learning based CTR models .
https://deepctr-doc.readthedocs.io/en/latest/index.html
Apache License 2.0
7.44k stars 2.19k forks source link

关于导入deepctr包后程序执行完不退出的问题 #513

Closed T0L0ve closed 1 year ago

T0L0ve commented 1 year ago

Please refer to the FAQ in doc and search for the related issues before you ask the question.

Describe the question(问题描述) 导入deepctr包后程序执行完却无法正常停止

Additional context Add any other context about the problem here. 这是代码 image print输出后程序按理应该就结束退出了,但pycharm显示一直是运行状态,只能手动停止。 image

Operating environment(运行环境):

T0L0ve commented 1 year ago

找到原因了,是check_version函数的问题,由于挂着梯子代码卡在requests.get(url_pattern)这边,梯子关了或者注释check_version函数就行了