object-detection

How to resolve the error “cannot import name 'string_int_label_map_pb2' from 'object_detection.protos'”

ⅰ亾dé卋堺 提交于 2020-12-27 07:23:54
问题 My friends and I are partaking in a hackathon and are stuck on this one tutorial on training an object detection model: https://tensorflow-object-detection-api-tutorial.readthedocs.io/en/latest/training.html But after three people have tried to follow the above tutorial to the letter, we are all stuck on the creating TfRecord step: https://tensorflow-object-detection-api-tutorial.readthedocs.io/en/latest/training.html#create-tensorflow-records We get the error message: ImportError: cannot

How to resolve the error “cannot import name 'string_int_label_map_pb2' from 'object_detection.protos'”

被刻印的时光 ゝ 提交于 2020-12-27 07:23:32
问题 My friends and I are partaking in a hackathon and are stuck on this one tutorial on training an object detection model: https://tensorflow-object-detection-api-tutorial.readthedocs.io/en/latest/training.html But after three people have tried to follow the above tutorial to the letter, we are all stuck on the creating TfRecord step: https://tensorflow-object-detection-api-tutorial.readthedocs.io/en/latest/training.html#create-tensorflow-records We get the error message: ImportError: cannot

tensorflow object detection API : training fails silently

自闭症网瘾萝莉.ら 提交于 2020-12-10 07:57:07
问题 I am using Tensorflow's object detection API, with my custom dataset. I am currently training "ssd_mobilenet_v1_coco" Everytime I try, training starts but training stops silently and randomly without error message. (Using COMMAND below, Command prompt shows the number of steps to some extent.) It is seems that GPU(CUDA) also stops. I've already tried changing batch_size("64" shows best score)and "ssd_mobilenet_v2_coco" Is this parameter(like "sample_1_of_n_eval_examples=1") or GPU problem? OS

tensorflow object detection API : training fails silently

主宰稳场 提交于 2020-12-10 07:56:07
问题 I am using Tensorflow's object detection API, with my custom dataset. I am currently training "ssd_mobilenet_v1_coco" Everytime I try, training starts but training stops silently and randomly without error message. (Using COMMAND below, Command prompt shows the number of steps to some extent.) It is seems that GPU(CUDA) also stops. I've already tried changing batch_size("64" shows best score)and "ssd_mobilenet_v2_coco" Is this parameter(like "sample_1_of_n_eval_examples=1") or GPU problem? OS

tf object detection api - extract feature vector for each detection bbox

北城以北 提交于 2020-11-30 07:30:23
问题 I'm using Tensorflow object detection API and working on pretrainedd ssd-mobilenet model. is there a way to extact the last global pooling of the mobilenet for each bbox as a feature vector? I can't find the name of the operation holding this info. I've been able to extract detection labels and bboxes based on the example on github: image_tensor = detection_graph.get_tensor_by_name( 'image_tensor:0' ) # Each box represents a part of the image where a particular object was detected. detection