From db949c457f4173449ca07abbdf04ef1ce08d46fd Mon Sep 17 00:00:00 2001
From: tgupta6 <tgupta6@illinois.edu>
Date: Sun, 6 Nov 2016 12:24:09 -0600
Subject: [PATCH] make sure word vecs and obj graph are being backproped into

---
 answer_classifier_cached_features/train.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/answer_classifier_cached_features/train.py b/answer_classifier_cached_features/train.py
index 3be65a1..f998d1c 100644
--- a/answer_classifier_cached_features/train.py
+++ b/answer_classifier_cached_features/train.py
@@ -742,7 +742,7 @@ class attach_optimizer():
         with graph.tf_graph.as_default():
             all_trainable_vars = tf.trainable_variables()
 
-            self.not_to_train = graph.object_attribute_vars + graph.word_vec_vars
+            self.not_to_train = []#graph.object_attribute_vars + graph.word_vec_vars
 
             vars_to_train = [
                 var for var in all_trainable_vars
-- 
GitLab