You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi I added all the dependencies and when i run python server.py, it works perfectly, but when i host it in server and run home page is loaded and when i try to train image or do a prediction it gives error as pnet is not defined. Following is the server setup
apache, mod-wsgi, and all python dependencies as mentioned in ur site,
Any help would be appreciated
The text was updated successfully, but these errors were encountered:
I am not sure to be honest. Since the server is running the pnet model part of the MTCNN face detection model should be loaded when the server starts. Could you add a screenshot or the log of the entire error?
Assuming the issue is the same as the linked issue above:
Running 'python server.py' would fix the issue, running the flask app via the 'flask run' method would not work as the models would be defined in the 'if __ name __ == ' __ main __ ': ' block and the __ name __ variable would not equal '__ main __' in this case.
Hi I added all the dependencies and when i run
python server.py
, it works perfectly, but when i host it in server and run home page is loaded and when i try to train image or do a prediction it gives error as pnet is not defined. Following is the server setupapache, mod-wsgi, and all python dependencies as mentioned in ur site,
Any help would be appreciated
The text was updated successfully, but these errors were encountered: