Giter Club home page Giter Club logo

face_mask_detection's Issues

training/labelmap.pbtxt; No such file or directory

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.

File error

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

Training.zip not available

The training.zip file does not exist anymore. Would it be possible to upload it again please? I thank you very much!

ImportError: cannot import name 'string_int_label_map_pb2' from 'object_detection.protos' (..\object_detection\protos\__init__.py)

`---------------------------------------------------------------------------
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'

AttributeError: keypoints

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

(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.).

(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.).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.