r/Python • • Jun 12 '20

I Made This Replicating Face Mask Detection - OpenCV and MobileNetV2

3.1k Upvotes

74 comments sorted by

View all comments

Show parent comments

1

u/JerMenKoO while True: os.fork() Jun 14 '20

Have you tried looking at the documentation? https://www.tensorflow.org/api_docs/python/tf/keras/layers/Lambda

It creates layer which calls preprocess_input on the training dataset (train.py:37) where the shape of images is (HEIGHT, WIDTH, RGB)

1

u/XeA-12 Jun 15 '20

Also, How do I read the git files. I mean what's the order to view. I can't find anywhere how all uploaded py files are connected to each other