deanna-emery commited on
Commit
6c72195
1 Parent(s): cff17c7
app.py CHANGED
@@ -18,7 +18,7 @@ movinet_model = tf_keras.models.load_model(movinet_path)
18
  movinet_model.trainable = False
19
 
20
  tokenizer = AutoTokenizer.from_pretrained("t5-base")
21
- t5_model = TFAutoModelForSeq2SeqLM.from_pretrained("deanna-emery/t5_word_epoch12_1203")
22
  t5_model.trainable = False
23
 
24
  def crop_center_square(frame):
 
18
  movinet_model.trainable = False
19
 
20
  tokenizer = AutoTokenizer.from_pretrained("t5-base")
21
+ t5_model = TFAutoModelForSeq2SeqLM.from_pretrained("deanna-emery/ASL_t5_word_epoch15_1204")
22
  t5_model.trainable = False
23
 
24
  def crop_center_square(frame):
modeling/official/core/__init__.py CHANGED
@@ -14,18 +14,18 @@
14
 
15
  """Core is shared by both `nlp` and `vision`."""
16
 
17
- from official.core import actions
18
- from official.core import base_task
19
- from official.core import base_trainer
20
- from official.core import config_definitions
21
- from official.core import exp_factory
22
- from official.core import export_base
23
- from official.core import file_writers
24
- from official.core import input_reader
25
- from official.core import registry
26
- from official.core import savedmodel_checkpoint_manager
27
- from official.core import task_factory
28
- from official.core import tf_example_builder
29
- from official.core import tf_example_feature_key
30
- from official.core import train_lib
31
- from official.core import train_utils
 
14
 
15
  """Core is shared by both `nlp` and `vision`."""
16
 
17
+ from modeling.official.core import actions
18
+ from modeling.official.core import base_task
19
+ from modeling.official.core import base_trainer
20
+ from modeling.official.core import config_definitions
21
+ from modeling.official.core import exp_factory
22
+ from modeling.official.core import export_base
23
+ from modeling.official.core import file_writers
24
+ from modeling.official.core import input_reader
25
+ from modeling.official.core import registry
26
+ from modeling.official.core import savedmodel_checkpoint_manager
27
+ from modeling.official.core import task_factory
28
+ from modeling.official.core import tf_example_builder
29
+ from modeling.official.core import tf_example_feature_key
30
+ from modeling.official.core import train_lib
31
+ from modeling.official.core import train_utils
modeling/official/vision/__init__.py CHANGED
@@ -14,5 +14,5 @@
14
 
15
  """Vision package definition."""
16
  # pylint: disable=unused-import
17
- from official.vision import configs
18
- from official.vision import tasks
 
14
 
15
  """Vision package definition."""
16
  # pylint: disable=unused-import
17
+ from modeling.official.vision import configs
18
+ from modeling.official.vision import tasks
modeling/official/vision/configs/__init__.py CHANGED
@@ -14,11 +14,11 @@
14
 
15
  """Configs package definition."""
16
 
17
- from official.vision.configs import backbones
18
- from official.vision.configs import backbones_3d
19
- from official.vision.configs import common
20
- from official.vision.configs import image_classification
21
- from official.vision.configs import maskrcnn
22
- from official.vision.configs import retinanet
23
- from official.vision.configs import semantic_segmentation
24
- from official.vision.configs import video_classification
 
14
 
15
  """Configs package definition."""
16
 
17
+ from modeling.official.vision.configs import backbones
18
+ from modeling.official.vision.configs import backbones_3d
19
+ from modeling.official.vision.configs import common
20
+ from modeling.official.vision.configs import image_classification
21
+ from modeling.official.vision.configs import maskrcnn
22
+ from modeling.official.vision.configs import retinanet
23
+ from modeling.official.vision.configs import semantic_segmentation
24
+ from modeling.official.vision.configs import video_classification