object-detection-api

Save tensorflow object detection augmented images

自古美人都是妖i 提交于 2019-12-08 04:18:53
问题 Is there a way to view the images that tensorflow object detection api trains on after all preprocessing/augmentation. I'd like to verify that things look correctly. I was able to verify the resizing my looking at the graph post resize in inference but I obviously can't do that for augmentation options. In the past with Keras I've been able to do that and I've found that I was to aggressive. 回答1: The API provides test code for augmentation options. In input_test.py file, the function test

Tensorflow object detection API:Sample program not working as expected

强颜欢笑 提交于 2019-12-08 03:27:59
问题 I am running sample program which comes packaged with Tensorflow object detection API(object_detection_tutorial.ipynb). Program runs fine with no error, but bounding boxes are not diaplayed at all. My environment is as follows: Windows 10 Python 3.6.3 What can be the reason? With regards Manish 回答1: Please try updated SSD models in the detection zoo : https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/detection_model_zoo.md. This should be fixed. 回答2: It seems

Tensorflow object detection API:Sample program not working as expected

孤人 提交于 2019-12-08 02:54:17
I am running sample program which comes packaged with Tensorflow object detection API(object_detection_tutorial.ipynb). Program runs fine with no error, but bounding boxes are not diaplayed at all. My environment is as follows: Windows 10 Python 3.6.3 What can be the reason? With regards Manish Please try updated SSD models in the detection zoo : https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/detection_model_zoo.md . This should be fixed. It seems that the latest version of the model ssd_mobilenet_v1_coco_2017_11_08 doesn't work and outputs abnormally low

tensorflow object detection API(Calculate Car speeds.)

六眼飞鱼酱① 提交于 2019-12-06 16:30:06
I used tensoflow object detection API to count the number of cars detected. But now i want to calculate the speed of all the cars detected. My question is is there any way to do this using tensorflow object detection API. You have keep track of the location of the cars with respect to pixels in intervals of time. You can start and stop the recording of time using 'time' library. Also, if you are planning to calculate car speeds, you have to take the relative speed with respect to the camera movement. It would be easier if your camera is in a still position. 来源: https://stackoverflow.com

Tensorflow object detection next steps

丶灬走出姿态 提交于 2019-12-06 07:16:45
问题 Im trying to train a model to check images, identify specified objects and tell me its coodinates (i dont even need to see an square around the object). For this im using Tensorflow's object detection and most of what I did was looking this tutorial: How To Train an Object Detection Classifier for Multiple Objects Using TensorFlow (GPU) on Windows 10 But some things changed, probably because of updates, and then I had to do somethings on my own. I can actually train the model (I guess) but I

Tensorflow Object Detection API Invalid argument: Shape mismatch in tuple component 16. Expected [1,?,?,3], got [1,182,322,4]

荒凉一梦 提交于 2019-12-05 04:01:40
问题 This is a follow-up question from this Github issue. To cut a long story short, I tried to use the Tensorflow Object detection API with my own dataset. Everything was working just fine until all of a sudden it crashed with the following error messages : ... INFO:tensorflow:global step 10635: loss = 0.3392 (0.822 sec/step) INFO:tensorflow:global step 10636: loss = 0.3529 (0.823 sec/step) INFO:tensorflow:global step 10637: loss = 0.3305 (0.831 sec/step) 2017-09-14 20:02:02.545415: W C:\tf

Tensorflow object detection next steps

拟墨画扇 提交于 2019-12-04 12:58:26
Im trying to train a model to check images, identify specified objects and tell me its coodinates (i dont even need to see an square around the object). For this im using Tensorflow's object detection and most of what I did was looking this tutorial: How To Train an Object Detection Classifier for Multiple Objects Using TensorFlow (GPU) on Windows 10 But some things changed, probably because of updates, and then I had to do somethings on my own. I can actually train the model (I guess) but I don't understand the evaluation results. Im used to see loss and current step but this output is

Updating Tensorflow Object detection model with new images

為{幸葍}努か 提交于 2019-12-04 06:49:52
I have trained a faster rcnn model with a custom dataset using Tensorflow's Object Detection Api. Over time I would like to continue to update the model with additional images (collected weekly). The goal is to optimize for accuracy and to weight newer images over time. Here are a few alternatives: Add images to previous dataset and train a completely new model Add images to previous dataset and continue training previous model New dataset with just new images and continue training previous model Here are my thoughts: option 1: would be more time consuming, but all images would be treated

Tensorflow Object Detection API Invalid argument: Shape mismatch in tuple component 16. Expected [1,?,?,3], got [1,182,322,4]

风流意气都作罢 提交于 2019-12-03 21:14:44
This is a follow-up question from this Github issue . To cut a long story short, I tried to use the Tensorflow Object detection API with my own dataset. Everything was working just fine until all of a sudden it crashed with the following error messages : ... INFO:tensorflow:global step 10635: loss = 0.3392 (0.822 sec/step) INFO:tensorflow:global step 10636: loss = 0.3529 (0.823 sec/step) INFO:tensorflow:global step 10637: loss = 0.3305 (0.831 sec/step) 2017-09-14 20:02:02.545415: W C:\tf_jenkins\home\workspace\rel-win\M\windows-gpu\PY\35\tensorflow\core\framework\op_kernel.cc:1192] Invalid

Tensorflow 1.9 / Object Detection: model_main.py only evaluates one image

坚强是说给别人听的谎言 提交于 2019-12-03 13:15:33
问题 I've updated to Tensorflow 1.9 & the latest master of the Object Detection API. When running a training/evaluation session that worked fine previously (I think version 1.6), the training appears to proceed as expected, but I only get evaluation & metrics for one image (the first). In Tensorboard the image is labeled 'Detections_Left_Groundtruth_Right'. The evaluation step itself also happens extremely quickly, which leads me to believe this isn't just a Tensorboard issue. Looking in model_lib