upgrade to work with tf2

This commit is contained in:
James Gallagher
2023-11-03 20:11:32 +00:00
parent 417656f176
commit 1fd248f1ff
+1 -1
View File
@@ -288,7 +288,7 @@ class Detections:
>>> detector = hub.load(module_handle).signatures['default']
>>> # follow https://www.tensorflow.org/hub/tutorials/object_detection to load an image
>>> # https://www.tensorflow.org/hub/tutorials/object_detection
>>> img = ...
>>> result = detector(img)