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
703dc8d7
Commit
703dc8d7
authored
Apr 06, 2017
by
Konstantinos Bousmalis
Browse files
Fix provide_batch_fn for semi-supervised case.
parent
09bc6113
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
domain_adaptation/domain_separation/dsn_train.py
domain_adaptation/domain_separation/dsn_train.py
+1
-1
No files found.
domain_adaptation/domain_separation/dsn_train.py
View file @
703dc8d7
...
@@ -180,7 +180,7 @@ def main(_):
...
@@ -180,7 +180,7 @@ def main(_):
if
FLAGS
.
target_labeled_dataset
!=
'none'
:
if
FLAGS
.
target_labeled_dataset
!=
'none'
:
# 1000 is the maximum number of labelled target samples that exists in
# 1000 is the maximum number of labelled target samples that exists in
# the datasets.
# the datasets.
target_semi_images
,
target_semi_labels
=
data_
provide
r
.
provide
(
target_semi_images
,
target_semi_labels
=
provide
_batch_fn
()
(
FLAGS
.
target_labeled_dataset
,
'train'
,
FLAGS
.
batch_size
)
FLAGS
.
target_labeled_dataset
,
'train'
,
FLAGS
.
batch_size
)
# Calculate the proportion of source domain samples in the semi-
# Calculate the proportion of source domain samples in the semi-
...
...
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