Spaces:
Sleeping
Sleeping
Commit
·
4d6d035
1
Parent(s):
6d0cb0a
Update app.py
Browse files
app.py
CHANGED
@@ -56,7 +56,7 @@ utils_ops.tf = tf.compat.v1
|
|
56 |
# Patch the location of gfile
|
57 |
tf.gfile = tf.io.gfile
|
58 |
os.system('cd ..')
|
59 |
-
os.system('python
|
60 |
def load_model(model_dir):
|
61 |
model = tf.saved_model.load(str(model_dir))
|
62 |
model = model.signatures['serving_default']
|
|
|
56 |
# Patch the location of gfile
|
57 |
tf.gfile = tf.io.gfile
|
58 |
os.system('cd ..')
|
59 |
+
os.system('python object_detection/builders/model_builder_tf2_test.py')
|
60 |
def load_model(model_dir):
|
61 |
model = tf.saved_model.load(str(model_dir))
|
62 |
model = model.signatures['serving_default']
|