Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
863f85e6
Unverified
Commit
863f85e6
authored
Sep 07, 2021
by
srihari-humbarwadi
Browse files
fixed imports
parent
00cbcad1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
official/vision/beta/projects/panoptic_maskrcnn/configs/panoptic_maskrcnn.py
...a/projects/panoptic_maskrcnn/configs/panoptic_maskrcnn.py
+2
-3
No files found.
official/vision/beta/projects/panoptic_maskrcnn/configs/panoptic_maskrcnn.py
View file @
863f85e6
...
@@ -21,7 +21,6 @@ from typing import List, Optional
...
@@ -21,7 +21,6 @@ from typing import List, Optional
from
official.core
import
config_definitions
as
cfg
from
official.core
import
config_definitions
as
cfg
from
official.core
import
exp_factory
from
official.core
import
exp_factory
from
official.modeling
import
optimization
from
official.modeling
import
optimization
from
official.vision.beta.configs
import
common
from
official.vision.beta.configs
import
maskrcnn
from
official.vision.beta.configs
import
maskrcnn
from
official.vision.beta.configs
import
semantic_segmentation
from
official.vision.beta.configs
import
semantic_segmentation
...
@@ -52,14 +51,14 @@ class Parser(maskrcnn.Parser):
...
@@ -52,14 +51,14 @@ class Parser(maskrcnn.Parser):
include_eval_masks
:
bool
=
True
include_eval_masks
:
bool
=
True
@
dataclasses
.
dataclass
@
dataclasses
.
dataclass
class
TfExampleDecoder
(
commo
n
.
TfExampleDecoder
):
class
TfExampleDecoder
(
maskrcn
n
.
TfExampleDecoder
):
"""A simple TF Example decoder config."""
"""A simple TF Example decoder config."""
# Setting this to true will enable decoding category_mask and instance_mask
# Setting this to true will enable decoding category_mask and instance_mask
include_eval_masks
:
bool
=
True
include_eval_masks
:
bool
=
True
@
dataclasses
.
dataclass
@
dataclasses
.
dataclass
class
DataDecoder
(
commo
n
.
DataDecoder
):
class
DataDecoder
(
maskrcn
n
.
DataDecoder
):
"""Data decoder config."""
"""Data decoder config."""
simple_decoder
:
TfExampleDecoder
=
TfExampleDecoder
()
simple_decoder
:
TfExampleDecoder
=
TfExampleDecoder
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment