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
db4f3f1b
Commit
db4f3f1b
authored
Jul 26, 2021
by
Gunho Park
Browse files
Internal chnage
parent
78c43ef1
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
8 deletions
+2
-8
official/vision/beta/projects/basnet/configs/experiments/basnet_dut_gpu.yaml
...a/projects/basnet/configs/experiments/basnet_dut_gpu.yaml
+1
-1
official/vision/beta/projects/basnet/evaluation/metrics.py
official/vision/beta/projects/basnet/evaluation/metrics.py
+1
-1
official/vision/beta/projects/basnet/losses/basnet_losses.py
official/vision/beta/projects/basnet/losses/basnet_losses.py
+0
-5
official/vision/beta/projects/basnet/modeling/refunet.py
official/vision/beta/projects/basnet/modeling/refunet.py
+0
-1
No files found.
official/vision/beta/projects/basnet/configs/experiments/basnet_dut_gpu.yaml
View file @
db4f3f1b
...
@@ -3,7 +3,7 @@ runtime:
...
@@ -3,7 +3,7 @@ runtime:
mixed_precision_dtype
:
'
float32'
mixed_precision_dtype
:
'
float32'
num_gpus
:
8
num_gpus
:
8
task
:
task
:
init_checkpoint
:
'
/home/gunho1123/ckpt/ckpt_encoder_wbias01
'
init_checkpoint
:
'
gs://cloud-basnet-checkpoints/basnet_encoder_imagenet/ckpt-340306
'
init_checkpoint_modules
:
'
backbone'
init_checkpoint_modules
:
'
backbone'
train_data
:
train_data
:
dtype
:
'
float32'
dtype
:
'
float32'
...
...
official/vision/beta/projects/basnet/evaluation/metrics.py
View file @
db4f3f1b
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License.
# ==============================================================================
# ==============================================================================
"""
"""
Evaluation metrics for BASNet.
The MAE and maxFscore implementations are a modified version of
The MAE and maxFscore implementations are a modified version of
https://github.com/xuebinqin/Binary-Segmentation-Evaluation-Tool
https://github.com/xuebinqin/Binary-Segmentation-Evaluation-Tool
...
...
official/vision/beta/projects/basnet/losses/basnet_losses.py
View file @
db4f3f1b
...
@@ -55,7 +55,6 @@ class BASNetLoss:
...
@@ -55,7 +55,6 @@ class BASNetLoss:
total_loss
=
total_loss
/
len
(
levels
)
total_loss
=
total_loss
/
len
(
levels
)
return
total_loss
return
total_loss
def
_iou_loss
(
self
,
sigmoids
,
labels
):
def
_iou_loss
(
self
,
sigmoids
,
labels
):
total_iou_loss
=
0
total_iou_loss
=
0
...
@@ -66,7 +65,3 @@ class BASNetLoss:
...
@@ -66,7 +65,3 @@ class BASNetLoss:
total_iou_loss
+=
1
-
IoU
total_iou_loss
+=
1
-
IoU
return
total_iou_loss
return
total_iou_loss
official/vision/beta/projects/basnet/modeling/refunet.py
View file @
db4f3f1b
...
@@ -13,7 +13,6 @@
...
@@ -13,7 +13,6 @@
# limitations under the License.
# limitations under the License.
# ==============================================================================
# ==============================================================================
# Import libraries
import
tensorflow
as
tf
import
tensorflow
as
tf
from
official.vision.beta.projects.basnet.modeling.layers
import
nn_blocks
from
official.vision.beta.projects.basnet.modeling.layers
import
nn_blocks
...
...
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