Then activate your environment
Install all the packages using following command
pip install -r requirements.txt
Divide the images like in folderstructure.png
Step 2)Working with google Colab(if you don't know about Colab refer this https://medium.com/deep-learning-turkey/google-colab-free-gpu-tutorial-e113627b9f5d)
Upload the dataset to google Drive and face_detection_model(Given above) folder
Now the colab folder structure should look like colabstructure.png
For better results I'm doing this.
Colab work is done.
Now download the modelname.hdf5 file from the google drive,which is saved using model.save(modelname.hdf5)
The folder structure should look like project.png
Run the output.ipynb locally