diff --git a/utils/utils.py b/utils/utils.py index 0b442799..9a7853e3 100755 --- a/utils/utils.py +++ b/utils/utils.py @@ -22,7 +22,7 @@ def load_classes(path): """ Loads class labels at 'path' """ - fp = open('data/coco.names', 'r') + fp = open(path, 'r') names = fp.read().split('\n') return list(filter(None, names)) # filter removes empty strings (such as last line)