Path: blob/main/Face Mask Detection - Object Detection/Face Mask Detection - Object Detection.ipynb
578 views
Kernel: Python 3
Install Modules
In [ ]:
Import Modules
In [1]:
Format the Images
In [2]:
In [3]:
Label the Images
In [4]:
Out[4]:
Image:C:\Users\Aswin\notebooks\Data Science Projects\Deep Learning\Face Mask Detection - Object Detection\images\12.jpg -> Annotation:C:/Users/Aswin/notebooks/detecto/images\12.xml
Image:C:\Users\Aswin\notebooks\Data Science Projects\Deep Learning\Face Mask Detection - Object Detection\images\0.jpg -> Annotation:C:/Users/Aswin/notebooks/Data Science Projects/Deep Learning/Face Mask Detection - Object Detection/images\0.xml
Image:C:\Users\Aswin\notebooks\Data Science Projects\Deep Learning\Face Mask Detection - Object Detection\images\1.jpg -> Annotation:C:/Users/Aswin/notebooks/Data Science Projects/Deep Learning/Face Mask Detection - Object Detection/images\1.xml
Train the Model
In [5]:
(Output Hidden)
Test the Model
In [6]:
Out[6]:
['mask']
tensor([0.9837])
Adding Augmentations
In [8]:
In [9]:
(Output Hidden)
In [12]:
Out[12]:
['mask']
tensor([0.8742])
In [15]:
Out[15]:
['mask']
tensor([0.9276])
In [ ]: