Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GenVQA
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Vision
GenVQA
Commits
f07ae542
Commit
f07ae542
authored
8 years ago
by
tgupta6
Browse files
Options
Downloads
Patches
Plain Diff
add yes no feat in select best model
parent
7e17e2dc
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
answer_classifier_cached_features/select_best_model.py
+3
-1
3 additions, 1 deletion
answer_classifier_cached_features/select_best_model.py
with
3 additions
and
1 deletion
answer_classifier_cached_features/select_best_model.py
+
3
−
1
View file @
f07ae542
...
@@ -115,7 +115,9 @@ def create_feed_dict_creator(plh, num_neg_answers):
...
@@ -115,7 +115,9 @@ def create_feed_dict_creator(plh, num_neg_answers):
a
+
b
for
a
,
b
in
zip
(
a
+
b
for
a
,
b
in
zip
(
vqa_batch
[
'
question_adjectives
'
],
vqa_batch
[
'
question_adjectives
'
],
list_ith_negative_answer_adjectives
)]
list_ith_negative_answer_adjectives
)]
inputs
[
'
yes_no_feat
'
]
=
vqa_batch
[
'
yes_no_feat
'
]
inputs
[
'
keep_prob
'
]
=
1.0
inputs
[
'
keep_prob
'
]
=
1.0
return
plh
.
get_feed_dict
(
inputs
)
return
plh
.
get_feed_dict
(
inputs
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment