How to use pytorch in flask and run it on wsgi_mod for apache2
Add following line to the file sites-available/your-site.conf
WSGIApplicationGroup %{GLOBAL}
Add following line to the file sites-available/your-site.conf
WSGIApplicationGroup %{GLOBAL}