spidy20 / face_mask_detection Goto Github PK
View Code? Open in Web Editor NEWFace mask detection system using Deep learning.
License: MIT License
Face mask detection system using Deep learning.
License: MIT License
int() argument must be a string a bytes-like object or a number not 'nonetype'
facemask-detection/models-master/research/object_detection/face_mask_detection-master/training/labelmap.pbtxt; No such file or directory
I cannot find labelmap.pbtxt in training folder after unzipping it.
could you please provide us the dataset which has been used to train your model?
ImportError: cannot import name 'string_int_label_map_pb2'
The link you provided of training file from google drive is corrupted. i downloaded it twice but failed to open it, Kindly share link again
The training.zip file does not exist anymore. Would it be possible to upload it again please? I thank you very much!
`---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
in
11
12 # Import utilites
---> 13 from utils import label_map_util
14 from utils import visualization_utils as vis_util
15
~\Desktop\Mask Detector\master\research\object_detection\utils\label_map_util.py in
25 import tensorflow as tf
26 from google.protobuf import text_format
---> 27 from object_detection.protos import string_int_label_map_pb2
28
29
ImportError: cannot import name 'string_int_label_map_pb2' from 'object_detection.protos' (..\object_detection\protos_init_.py)
`
I have tensorflow version '1.15.0'
Got this error on running the code:
label_map_util.py in convert_label_map_to_categories(label_map, max_num_classes, use_display_name)
AttributeError Traceback (most recent call last)
in
39 # dictionary mapping integers to appropriate string labels would be fine
40 label_map = label_map_util.load_labelmap(PATH_TO_LABELS)
---> 41 categories = label_map_util.convert_label_map_to_categories(label_map, max_num_classes=NUM_CLASSES, use_display_name=True)
42 category_index = label_map_util.create_category_index(categories)
43
~\Documents\Face Mask Detection Project\face_mask_detection_May_28_2020\models-master\models-master\research\object_detection\utils\label_map_util.py in convert_label_map_to_categories(label_map, max_num_classes, use_display_name)
131 list_of_ids_already_added.append(item.id)
132 category = {'id': item.id, 'name': name}
--> 133 if item.keypoints:
134 keypoints = {}
135 list_of_keypoint_ids = []
AttributeError: keypoints
ValueError: NodeDef mentions attr 'incompatible_shape_error' not in Op<name=Equal; signature=x:T, y:T -> z:bool; attr=T:type,allowed=[DT_BFLOAT16, DT_HALF, DT_FLOAT, DT_DOUBLE, DT_UINT8, ..., DT_QINT8, DT_QINT32, DT_STRING, DT_BOOL, DT_COMPLEX128]; is_commutative=true>; NodeDef: {{node GridAnchorGenerator/assert_equal_1/Equal}}. (Check whether your GraphDef-interpreting binary is up to date with your GraphDef-generating binary.).
ValueError: NodeDef mentions attr 'incompatible_shape_error' not in Op<name=Equal; signature=x:T, y:T -> z:bool; attr=T:type,allowed=[DT_BFLOAT16, DT_HALF, DT_FLOAT, DT_DOUBLE, DT_UINT8, ..., DT_QINT8, DT_QINT32, DT_STRING, DT_BOOL, DT_COMPLEX128]; is_commutative=true>; NodeDef: {{node GridAnchorGenerator/assert_equal_1/Equal}}. (Check whether your GraphDef-interpreting binary is up to date with your GraphDef-generating binary.).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.