Skip to content
Snippets Groups Projects
Commit 1d8b3321 authored by tgupta6's avatar tgupta6
Browse files

add missing self.

parent b1c00c13
No related branches found
No related tags found
No related merge requests found
......@@ -97,7 +97,7 @@ class AnswerInference():
self.per_region_answer_scores[j] = tf.nn.relu(
self.batch_norm(
self.per_region_answer_scores[j],
is_training))
self.is_training))
self.per_region_answer_scores[j] = layers.conv2d(
self.per_region_answer_scores[j],
......
......@@ -108,7 +108,7 @@ class graph_creator():
self.num_neg_answers + 1,
self.space_dim,
self.plh['keep_prob'],
training)
self.training)
self.add_losses()
self.add_accuracy_computation()
......@@ -367,8 +367,7 @@ class graph_creator():
attribute_loss_summary = tf.scalar_summary(
"loss_attribute",
self.attribute_loss)
# self.object_loss = 0.0
# self.attribute_loss = 0.0
else:
self.object_loss = 0.0
self.attribute_loss = 0.0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment