Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: tensorflow/models
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: florisdesmedt/models
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Can’t automatically merge. Don’t worry, you can still create the pull request.
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Sep 8, 2017

  1. make path relative

    Floris De Smedt committed Sep 8, 2017
    Copy the full SHA
    497070d View commit details
Showing with 4 additions and 2 deletions.
  1. +4 −2 object_detection/utils/label_map_util.py
6 changes: 4 additions & 2 deletions object_detection/utils/label_map_util.py
Original file line number Diff line number Diff line change
@@ -19,8 +19,10 @@

import tensorflow as tf
from google.protobuf import text_format
from object_detection.protos import string_int_label_map_pb2

try:
from object_detection.protos import string_int_label_map_pb2
except:
from ...object_detection.protos import string_int_label_map_pb2

def _validate_label_map(label_map):
"""Checks if a label map is valid.