Created by: ZhengHui-Z
demo "PaddleHub/demo/serving/GAN_stgan_celeba/"中的模型无法启动多线程,会使得服务器卡死。
启动配置如下:
{
"modules_info": [
{
"module": "stgan_celeba",
"version": "1.0.0",
"batch_size": 1,
"queue_size": 20
}
],
"use_gpu": false,
"port": 8866,
"use_multiprocess": true
}