标签:roc action 数据 问题 ade 接收 img ack image
问题:
image = np.asarray(bytearray(f.read()), dtype="uint8")
cv2_img = cv2.imdecode(image, cv2.IMREAD_COLOR)
虽然image中已经接收到数据,代码却在decode函数处卡死。
解决:
在mysite.conf中添加
WSGIApplicationGroup %{GLOBAL}
参考:
https://stackoverflow.com/questions/40413171/django-webfaction-timeout-when-reading-response-headers-from-daemon-process
dgango 报错: Timeout when reading response headers from daemon process
标签:roc action 数据 问题 ade 接收 img ack image
原文地址:https://www.cnblogs.com/rabitvision/p/10298370.html