Real Time Face Mask Detection with Tensorflow and Python | Custom Object Detection w/ MobileNet SSD
Why Stack Overflow recommends it
Stack Overflow users link it as the tutorial they are following when they hit errors training or setting up a TensorFlow object detection model, and occasionally as the recipe that worked.
Recommended by 1 people across 1 different months, 2020 to 2021.
What it is
A near one-hour tutorial by Nicholas Renotte on building a custom real-time object detector with TensorFlow's Object Detection API and a MobileNet SSD model, using face mask detection as the example. It covers labelling images with labelImg, transfer learning from a pretrained model, setting up the training workflow, and running live detections.
What people said
Recommends PCG · 2021-03 · Stack Overflow · on “TF2 Object Detection API: model_main_tf2.py - validation loss?”
I followed [this video] and worked. model_main_tf2.py --model_dir={}/{} --pipeline_config_path={}/{}/pipeline.config --num_train_steps=5000". When you download the model zoo, you have the check point.
Cites fyfo · 2020-12 · Stack Overflow · on “Python(anaconda) The system cannot find the path specified. ; No such process [Op:SaveV2]”
I'm trying to train a model for mask detection from this tutorial: ( [this video] ) and when I run the model training code on anaconda prompt: python Tensorflow/models/research/object_detection/model_main_tf2.py--model_dir=Tensorflow/workspace/models/my_ssd_mobnet--pipeline_config_path=Tensorflow/workspace/models/my_ssd_mobnet/pipeline.config--num_train_steps=4500 I get this error as the final result: \anaconda3\lib\site-packages\tensorflow\python\eager\execute.py", line 59, in quick_execute tensors = pywrap_tfe.TFE_Py_Execute(ctx._handle, device_name, op_name, tensorflow.python.framework.errors_impl.NotFoundError: Failed to create a NewWriteableFile: Tensorflow/workspace/models/my_ssd_mobnet\ckp
Cites user17213914 · 2021-10 · Stack Overflow · on “No such file or directory: 'Tensorflow/workspace/annotations\\label_map.pbtxt on Jupyter why is my code not working?”
I'm following this video Real Time Face Mask Detection with Tensorflow and Python [this video] . However, at the point in the video 21:06 when the developer creates the "Label map file" my file doesn't create on my local machine and I get an error on Jupyter which says **FileNotFoundError: [Errno 2] No such file or directory: 'Tensorflow/workspace/annotations\\label_map.pbtxt'** . As you can see from the screenshot below, I have copied the code in the video I don't think I copied it over incorrectly on Jupyter. MY CODE labels = [{'name':'Mask', 'id':1}, {'name':'NoMask', 'id':2}] with open(ANNOTATION_PATH + '/label_map.pbtxt', 'w') as f: for label in labels: f.write('item { \n') f.write('\tname:\
Cites dikee vanahei · 2021-10 · Stack Overflow · on “getting Fatal error in launcher: Unable to create process using '"c:\python37\python.exe" "C:\Python37\Scripts\pyrcc5.exe"”
So i'm a beginner at machine learning and i want to try out this project i found it youtube ( link here [this video] ) but the problem is when i get onto the step where i do pyrcc5 -o resources.py resources.qrc in the command prompt it gives the error: Fatal error in launcher: Unable to create process using '"c:\python37\python.exe" "C:\Python37\Scripts\pyrcc5.exe" -o resources.py resources.qrc' which i don't understand why because i did everything the guy did in the video