Skip to content

Commit

Permalink
updating detection scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
yassine-rd committed Nov 30, 2022
1 parent e541430 commit 03285b1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions detect.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
from PIL import Image

from tensorflow.python.saved_model import tag_constants
from tensorflow.compat.v1 import ConfigProto
from tensorflow.compat.v1 import InteractiveSession
from tensorflow._api.v2.compat.v1 import ConfigProto
from tensorflow._api.v2.compat.v1 import InteractiveSession


flags.DEFINE_string('framework', 'tf', '(tf, tflite')
Expand Down
4 changes: 2 additions & 2 deletions detect_video.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
from core.functions import *

from tensorflow.python.saved_model import tag_constants
from tensorflow.compat.v1 import ConfigProto
from tensorflow.compat.v1 import InteractiveSession
from tensorflow._api.v2.compat.v1 import ConfigProto
from tensorflow._api.v2.compat.v1 import InteractiveSession


flags.DEFINE_string('framework', 'tf', '(tf, tflite')
Expand Down

0 comments on commit 03285b1

Please sign in to comment.