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
c9c1b754
Commit
c9c1b754
authored
8 years ago
by
tgupta6
Browse files
Options
Downloads
Patches
Plain Diff
the architecture that gives 64 overall accuracy
parent
67921a24
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
answer_classifier_cached_features/inference.py
+2
-2
2 additions, 2 deletions
answer_classifier_cached_features/inference.py
object_attribute_classifier_cached_features/inference.py
+8
-8
8 additions, 8 deletions
object_attribute_classifier_cached_features/inference.py
with
10 additions
and
10 deletions
answer_classifier_cached_features/inference.py
+
2
−
2
View file @
c9c1b754
...
@@ -174,12 +174,12 @@ class AnswerInference():
...
@@ -174,12 +174,12 @@ class AnswerInference():
self
.
obj_atr_det_fc_bn
=
self
.
fc_bn
(
self
.
obj_atr_det_fc_bn
=
self
.
fc_bn
(
self
.
obj_atr_det_packed
,
self
.
obj_atr_det_packed
,
2500
,
2500
,
'
obj_atr_det_c
onv
_bn
'
)
'
obj_atr_det_
f
c_bn
'
)
self
.
q_a_feat_fc_bn
=
self
.
fc_bn
(
self
.
q_a_feat_fc_bn
=
self
.
fc_bn
(
self
.
q_a_feat_packed
,
self
.
q_a_feat_packed
,
2500
,
2500
,
'
q_a_feat_c
onv
_bn
'
)
'
q_a_feat_
f
c_bn
'
)
# (25*18 x 2500)
# (25*18 x 2500)
self
.
per_answer_feat
=
tf
.
nn
.
relu
(
self
.
per_answer_feat
=
tf
.
nn
.
relu
(
...
...
This diff is collapsed.
Click to expand it.
object_attribute_classifier_cached_features/inference.py
+
8
−
8
View file @
c9c1b754
...
@@ -78,10 +78,10 @@ class ObjectAttributeInference():
...
@@ -78,10 +78,10 @@ class ObjectAttributeInference():
out_dim
,
out_dim
,
'
fc
'
,
'
fc
'
,
func
=
None
)
func
=
None
)
#
fc2_out = layers.batch_norm(
fc2_out
=
layers
.
batch_norm
(
#
fc2_out,
fc2_out
,
#
tf.constant(self.training))
tf
.
constant
(
self
.
training
))
#
fc2_out = tf.nn.relu(fc2_out)
fc2_out
=
tf
.
nn
.
relu
(
fc2_out
)
return
fc2_out
return
fc2_out
...
@@ -108,10 +108,10 @@ class ObjectAttributeInference():
...
@@ -108,10 +108,10 @@ class ObjectAttributeInference():
out_dim
,
out_dim
,
'
fc
'
,
'
fc
'
,
func
=
None
)
func
=
None
)
#
fc2_out = layers.batch_norm(
fc2_out
=
layers
.
batch_norm
(
#
fc2_out,
fc2_out
,
#
tf.constant(self.training))
tf
.
constant
(
self
.
training
))
#
fc2_out = tf.nn.relu(fc2_out)
fc2_out
=
tf
.
nn
.
relu
(
fc2_out
)
return
fc2_out
return
fc2_out
...
...
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