ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dlig...@apache.org
Subject svn commit: r1763627 - /ctakes/trunk/ctakes-temporal/scripts/nn/cnn_classify.py
Date Thu, 06 Oct 2016 16:39:48 GMT
Author: dligach
Date: Thu Oct  6 16:39:48 2016
New Revision: 1763627

URL: http://svn.apache.org/viewvc?rev=1763627&view=rev
Log:
saving model in event-event dir now (not event-time)

Modified:
    ctakes/trunk/ctakes-temporal/scripts/nn/cnn_classify.py

Modified: ctakes/trunk/ctakes-temporal/scripts/nn/cnn_classify.py
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-temporal/scripts/nn/cnn_classify.py?rev=1763627&r1=1763626&r2=1763627&view=diff
==============================================================================
--- ctakes/trunk/ctakes-temporal/scripts/nn/cnn_classify.py (original)
+++ ctakes/trunk/ctakes-temporal/scripts/nn/cnn_classify.py Thu Oct  6 16:39:48 2016
@@ -14,7 +14,7 @@ def main(args):
         sys.exit(-1)
     working_dir = args[0]
 
-    target_dir = 'ctakes-temporal/target/eval/thyme/train_and_test/event-time/'
+    target_dir = 'ctakes-temporal/target/eval/thyme/train_and_test/event-event/'
     model_dir = os.path.join(os.environ['CTAKES_ROOT'], target_dir)
     maxlen   = pickle.load(open(os.path.join(model_dir, "maxlen.p"), "rb"))
     word2int = pickle.load(open(os.path.join(model_dir, "word2int.p"), "rb"))



Mime
View raw message