deanna-emery commited on
Commit
bb22dac
1 Parent(s): e5617ca
app.py CHANGED
@@ -13,7 +13,7 @@ from modeling.official.projects.movinet.modeling import movinet
13
  from modeling.official.projects.movinet.modeling import movinet_model_a2_modified as movinet_model_modified
14
 
15
 
16
- movinet_path = 'movinet_checkpoints_a2_epoch9'
17
  movinet_model = tf_keras.models.load_model(movinet_path)
18
  movinet_model.trainable = False
19
 
 
13
  from modeling.official.projects.movinet.modeling import movinet_model_a2_modified as movinet_model_modified
14
 
15
 
16
+ movinet_path = 'modeling/movinet_checkpoints_a2_epoch9'
17
  movinet_model = tf_keras.models.load_model(movinet_path)
18
  movinet_model.trainable = False
19
 
modeling/official/projects/movinet/modeling/movinet.py CHANGED
@@ -23,9 +23,9 @@ from typing import Dict, Mapping, Optional, Sequence, Tuple, Union
23
  from absl import logging
24
  import tensorflow as tf, tf_keras
25
 
26
- from official.modeling import hyperparams
27
- from official.projects.movinet.modeling import movinet_layers
28
- from official.vision.modeling.backbones import factory
29
 
30
  # Defines a set of kernel sizes and stride sizes to simplify and shorten
31
  # architecture definitions for configs below.
 
23
  from absl import logging
24
  import tensorflow as tf, tf_keras
25
 
26
+ from modeling.official.modeling import hyperparams
27
+ from modeling.official.projects.movinet.modeling import movinet_layers
28
+ from modeling.official.vision.modeling.backbones import factory
29
 
30
  # Defines a set of kernel sizes and stride sizes to simplify and shorten
31
  # architecture definitions for configs below.
modeling/official/projects/movinet/modeling/movinet_layers.py CHANGED
@@ -21,8 +21,8 @@ from typing import Any, Mapping, Optional, Sequence, Tuple, Union
21
 
22
  import tensorflow as tf, tf_keras
23
 
24
- from official.modeling import tf_utils
25
- from official.vision.modeling.layers import nn_layers
26
 
27
  # Default kernel weight decay that may be overridden
28
  KERNEL_WEIGHT_DECAY = 1.5e-5
 
21
 
22
  import tensorflow as tf, tf_keras
23
 
24
+ from modeling.official.modeling import tf_utils
25
+ from modeling.official.vision.modeling.layers import nn_layers
26
 
27
  # Default kernel weight decay that may be overridden
28
  KERNEL_WEIGHT_DECAY = 1.5e-5
modeling/official/vision/modeling/backbones/factory.py CHANGED
@@ -47,8 +47,8 @@ from typing import Sequence, Union
47
 
48
  import tensorflow as tf, tf_keras
49
 
50
- from official.core import registry
51
- from official.modeling import hyperparams
52
 
53
 
54
  _REGISTERED_BACKBONE_CLS = {}
 
47
 
48
  import tensorflow as tf, tf_keras
49
 
50
+ from modeling.official.core import registry
51
+ from modeling.official.modeling import hyperparams
52
 
53
 
54
  _REGISTERED_BACKBONE_CLS = {}