You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
1.5 KiB

6 years ago
  1. # Frequently Asked Questions
  2. ## Q: How can I ensure that all the groundtruth boxes are used during train and eval?
  3. A: For the object detecion framework to be TPU-complient, we must pad our input
  4. tensors to static shapes. This means that we must pad to a fixed number of
  5. bounding boxes, configured by `InputReader.max_number_of_boxes`. It is
  6. important to set this value to a number larger than the maximum number of
  7. groundtruth boxes in the dataset. If an image is encountered with more
  8. bounding boxes, the excess boxes will be clipped.
  9. ## Q: AttributeError: 'module' object has no attribute 'BackupHandler'
  10. A: This BackupHandler (tf.contrib.slim.tfexample_decoder.BackupHandler) was
  11. introduced in tensorflow 1.5.0 so runing with earlier versions may cause this
  12. issue. It now has been replaced by
  13. object_detection.data_decoders.tf_example_decoder.BackupHandler. Whoever sees
  14. this issue should be able to resolve it by syncing your fork to HEAD.
  15. Same for LookupTensor.
  16. ## Q: AttributeError: 'module' object has no attribute 'LookupTensor'
  17. A: Similar to BackupHandler, syncing your fork to HEAD should make it work.
  18. ## Q: Why can't I get the inference time as reported in model zoo?
  19. A: The inference time reported in model zoo is mean time of testing hundreds of
  20. images with an internal machine. As mentioned in
  21. [Tensorflow detection model zoo](detection_model_zoo.md), this speed depends
  22. highly on one's specific hardware configuration and should be treated more as
  23. relative timing.