2016-09-06 54 views

回答

0

我keras Compute Engine上的工作。要導入重型庫,我們需要在.conf文件中設置某些參數。

下面的代碼添加到您的/etc/apache2/sites-enables/yourapp.conf文件:

WSGIDaemonProcess yourapp user=you group=somegroup processes=1 threads=5 
<Directory /home/directory/to/webserver/html/appdir/app.wsgi> 
    WSGIProcessGroup yourapp 
    WSGIApplicationGroup %{GLOBAL} 
    Order deny,allow 
    Allow from all 
</Directory> 

請參閱此鏈接的詳細信息 - http://cmry.github.io/notes/bottle