Skip to content
This repository has been archived by the owner on Apr 4, 2018. It is now read-only.

Commit

Permalink
🚗🏠
Browse files Browse the repository at this point in the history
  • Loading branch information
lukovnikov committed Mar 19, 2016
1 parent a325302 commit d836161
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ before_install:
- pip install -U pip
install:
- travis_wait travis_retry pip install -r requirements.txt
- travis_wait pip install git+git://github.com/Theano/Theano.git@9bdef90ddea30b9d5e5e34dc75f5b9e940f06768
- travis_retry pip install coveralls
- travis_retry python setup.py develop
script: nosetests --with-coverage --cover-package=teafacto
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
Lasagne==0.1
Theano==0.7.0
pandas==0.17.0
Whoosh==2.7.0
argparse==1.2.1
Expand Down
1 change: 1 addition & 0 deletions teafacto/blocks/rnn.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ def apply(self, inpseq, outseq):
return deco


# TODO: travis error messages about theano optimization and shapes only involve things below
class SimpleEncoderDecoder(SeqEncoderDecoder): # gets two sequences of indexes for training
def __init__(self, innerdim=50, input_vocsize=100, output_vocsize=100, **kw):
input_embedder = IdxToOneHot(input_vocsize)
Expand Down
1 change: 1 addition & 0 deletions teafacto/core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@

#######################################################
############# URGENT !!!!!!!! #########################
# TODO: TEST RNN_AUTO-ENCODER TRAINING, ANALYZE
# TODO: MERGE INTO MASTER (TRAVIS GIVES WEIRD ERROR MESSAGES)

# TODO: implement recurrent/forward attention in decoder (Mei, 2015)
Expand Down
2 changes: 1 addition & 1 deletion test/test_simple_decoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def setUp(self):
self.sedoutv = self.sed.predict(inpseqv, outseqv)
self.sedoutvshape = (batsize, seqlen, outvocsize)

def test__output_shapes(self):
def test_output_shapes(self):
self.assertEqual(self.sedoutv.shape, self.sedoutvshape)

def test_propagated_param_names(self):
Expand Down

0 comments on commit d836161

Please sign in to comment.