高并发Flask服务部署
摘要:高并发Flask服务部署 AI模型持久化 OOP: 利用面向对象思想,实现算法在内存上的实例化及持久化。即一次模型加载,多次请求调用。 class ocr_infer_class(threading.Thread): def __init__(self, input_queue, output_qu
阅读全文
posted @ 2021-06-08 15:52
posted @ 2021-06-08 15:52
posted @ 2020-04-06 16:50
posted @ 2020-02-01 22:10