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
f577d653
Commit
f577d653
authored
Apr 06, 2017
by
Lukasz Kaiser
Committed by
GitHub
Apr 06, 2017
Browse files
Merge pull request #1310 from bousmalis/master
Fix provide_batch_fn for semi-supervised case.
parents
cf085f79
703dc8d7
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 @
f577d653
...
...
@@ -180,7 +180,7 @@ def main(_):
if
FLAGS
.
target_labeled_dataset
!=
'none'
:
# 1000 is the maximum number of labelled target samples that exists in
# 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
)
# 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