Spaces:
Runtime error
Runtime error
deanna-emery
commited on
Commit
·
b8163f4
1
Parent(s):
6c72195
updates
Browse files- modeling/official/vision/configs/backbones.py +1 -1
- modeling/official/vision/configs/decoders.py +1 -1
- modeling/official/vision/configs/image_classification.py +6 -6
- modeling/official/vision/configs/image_classification_test.py +4 -4
- modeling/official/vision/configs/maskrcnn.py +7 -7
- modeling/official/vision/configs/maskrcnn_test.py +4 -4
- modeling/official/vision/configs/retinanet.py +8 -8
- modeling/official/vision/configs/semantic_segmentation.py +8 -8
modeling/official/vision/configs/backbones.py
CHANGED
@@ -16,7 +16,7 @@
|
|
16 |
import dataclasses
|
17 |
from typing import List, Optional, Tuple
|
18 |
|
19 |
-
from official.modeling import hyperparams
|
20 |
|
21 |
|
22 |
@dataclasses.dataclass
|
|
|
16 |
import dataclasses
|
17 |
from typing import List, Optional, Tuple
|
18 |
|
19 |
+
from modeling.official.modeling import hyperparams
|
20 |
|
21 |
|
22 |
@dataclasses.dataclass
|
modeling/official/vision/configs/decoders.py
CHANGED
@@ -18,7 +18,7 @@ from typing import List, Optional
|
|
18 |
|
19 |
# Import libraries
|
20 |
|
21 |
-
from official.modeling import hyperparams
|
22 |
|
23 |
|
24 |
@dataclasses.dataclass
|
|
|
18 |
|
19 |
# Import libraries
|
20 |
|
21 |
+
from modeling.official.modeling import hyperparams
|
22 |
|
23 |
|
24 |
@dataclasses.dataclass
|
modeling/official/vision/configs/image_classification.py
CHANGED
@@ -17,12 +17,12 @@ import dataclasses
|
|
17 |
import os
|
18 |
from typing import List, Optional, Tuple, Union, Sequence
|
19 |
|
20 |
-
from official.core import config_definitions as cfg
|
21 |
-
from official.core import exp_factory
|
22 |
-
from official.modeling import hyperparams
|
23 |
-
from official.modeling import optimization
|
24 |
-
from official.vision.configs import common
|
25 |
-
from official.vision.configs import backbones
|
26 |
|
27 |
|
28 |
@dataclasses.dataclass
|
|
|
17 |
import os
|
18 |
from typing import List, Optional, Tuple, Union, Sequence
|
19 |
|
20 |
+
from modeling.official.core import config_definitions as cfg
|
21 |
+
from modeling.official.core import exp_factory
|
22 |
+
from modeling.official.modeling import hyperparams
|
23 |
+
from modeling.official.modeling import optimization
|
24 |
+
from modeling.official.vision.configs import common
|
25 |
+
from modeling.official.vision.configs import backbones
|
26 |
|
27 |
|
28 |
@dataclasses.dataclass
|
modeling/official/vision/configs/image_classification_test.py
CHANGED
@@ -17,10 +17,10 @@
|
|
17 |
from absl.testing import parameterized
|
18 |
import tensorflow as tf, tf_keras
|
19 |
|
20 |
-
from official import vision
|
21 |
-
from official.core import config_definitions as cfg
|
22 |
-
from official.core import exp_factory
|
23 |
-
from official.vision.configs import image_classification as exp_cfg
|
24 |
|
25 |
|
26 |
class ImageClassificationConfigTest(tf.test.TestCase, parameterized.TestCase):
|
|
|
17 |
from absl.testing import parameterized
|
18 |
import tensorflow as tf, tf_keras
|
19 |
|
20 |
+
from modeling.official import vision
|
21 |
+
from modeling.official.core import config_definitions as cfg
|
22 |
+
from modeling.official.core import exp_factory
|
23 |
+
from modeling.official.vision.configs import image_classification as exp_cfg
|
24 |
|
25 |
|
26 |
class ImageClassificationConfigTest(tf.test.TestCase, parameterized.TestCase):
|
modeling/official/vision/configs/maskrcnn.py
CHANGED
@@ -18,13 +18,13 @@ import dataclasses
|
|
18 |
import os
|
19 |
from typing import List, Optional, Sequence, Union
|
20 |
|
21 |
-
from official.core import config_definitions as cfg
|
22 |
-
from official.core import exp_factory
|
23 |
-
from official.modeling import hyperparams
|
24 |
-
from official.modeling import optimization
|
25 |
-
from official.vision.configs import common
|
26 |
-
from official.vision.configs import decoders
|
27 |
-
from official.vision.configs import backbones
|
28 |
|
29 |
|
30 |
# pylint: disable=missing-class-docstring
|
|
|
18 |
import os
|
19 |
from typing import List, Optional, Sequence, Union
|
20 |
|
21 |
+
from modeling.official.core import config_definitions as cfg
|
22 |
+
from modeling.official.core import exp_factory
|
23 |
+
from modeling.official.modeling import hyperparams
|
24 |
+
from modeling.official.modeling import optimization
|
25 |
+
from modeling.official.vision.configs import common
|
26 |
+
from modeling.official.vision.configs import decoders
|
27 |
+
from modeling.official.vision.configs import backbones
|
28 |
|
29 |
|
30 |
# pylint: disable=missing-class-docstring
|
modeling/official/vision/configs/maskrcnn_test.py
CHANGED
@@ -17,10 +17,10 @@
|
|
17 |
from absl.testing import parameterized
|
18 |
import tensorflow as tf, tf_keras
|
19 |
|
20 |
-
from official import vision
|
21 |
-
from official.core import config_definitions as cfg
|
22 |
-
from official.core import exp_factory
|
23 |
-
from official.vision.configs import maskrcnn as exp_cfg
|
24 |
|
25 |
|
26 |
class MaskRCNNConfigTest(tf.test.TestCase, parameterized.TestCase):
|
|
|
17 |
from absl.testing import parameterized
|
18 |
import tensorflow as tf, tf_keras
|
19 |
|
20 |
+
from modeling.official import vision
|
21 |
+
from modeling.official.core import config_definitions as cfg
|
22 |
+
from modeling.official.core import exp_factory
|
23 |
+
from modeling.official.vision.configs import maskrcnn as exp_cfg
|
24 |
|
25 |
|
26 |
class MaskRCNNConfigTest(tf.test.TestCase, parameterized.TestCase):
|
modeling/official/vision/configs/retinanet.py
CHANGED
@@ -18,14 +18,14 @@ import dataclasses
|
|
18 |
import os
|
19 |
from typing import Optional, List, Sequence, Union
|
20 |
|
21 |
-
from official.core import config_definitions as cfg
|
22 |
-
from official.core import exp_factory
|
23 |
-
from official.modeling import hyperparams
|
24 |
-
from official.modeling import optimization
|
25 |
-
from official.modeling.hyperparams import base_config
|
26 |
-
from official.vision.configs import common
|
27 |
-
from official.vision.configs import decoders
|
28 |
-
from official.vision.configs import backbones
|
29 |
|
30 |
|
31 |
# pylint: disable=missing-class-docstring
|
|
|
18 |
import os
|
19 |
from typing import Optional, List, Sequence, Union
|
20 |
|
21 |
+
from modeling.official.core import config_definitions as cfg
|
22 |
+
from modeling.official.core import exp_factory
|
23 |
+
from modeling.official.modeling import hyperparams
|
24 |
+
from modeling.official.modeling import optimization
|
25 |
+
from modeling.official.modeling.hyperparams import base_config
|
26 |
+
from modeling.official.vision.configs import common
|
27 |
+
from modeling.official.vision.configs import decoders
|
28 |
+
from modeling.official.vision.configs import backbones
|
29 |
|
30 |
|
31 |
# pylint: disable=missing-class-docstring
|
modeling/official/vision/configs/semantic_segmentation.py
CHANGED
@@ -19,14 +19,14 @@ from typing import List, Optional, Sequence, Union
|
|
19 |
|
20 |
import numpy as np
|
21 |
|
22 |
-
from official.core import config_definitions as cfg
|
23 |
-
from official.core import exp_factory
|
24 |
-
from official.modeling import hyperparams
|
25 |
-
from official.modeling import optimization
|
26 |
-
from official.vision.configs import common
|
27 |
-
from official.vision.configs import decoders
|
28 |
-
from official.vision.configs import backbones
|
29 |
-
from official.vision.ops import preprocess_ops
|
30 |
|
31 |
|
32 |
@dataclasses.dataclass
|
|
|
19 |
|
20 |
import numpy as np
|
21 |
|
22 |
+
from modeling.official.core import config_definitions as cfg
|
23 |
+
from modeling.official.core import exp_factory
|
24 |
+
from modeling.official.modeling import hyperparams
|
25 |
+
from modeling.official.modeling import optimization
|
26 |
+
from modeling.official.vision.configs import common
|
27 |
+
from modeling.official.vision.configs import decoders
|
28 |
+
from modeling.official.vision.configs import backbones
|
29 |
+
from modeling.official.vision.ops import preprocess_ops
|
30 |
|
31 |
|
32 |
@dataclasses.dataclass
|