-
Notifications
You must be signed in to change notification settings - Fork 12
Description
Hello,
I get the following error when trying to train synt:
(my_new_env3)prossi:Tawlk-synt-dfd2c6a prossi$ synt train 'mysamples.db' 20000
Beginning train on mysamples.db database with 20000 samples.
Traceback (most recent call last):
File "/Users/prossi/Documents/Tawlk-synt-dfd2c6a/my_new_env3/bin/synt", line 5, in
pkg_resources.run_script('synt==0.1.0', 'synt')
File "build/bdist.linux-i686/egg/pkg_resources.py", line 489, in run_script
File "build/bdist.linux-i686/egg/pkg_resources.py", line 1207, in run_script
File "/Users/prossi/Documents/Tawlk-synt-dfd2c6a/my_new_env3/lib/python2.7/site-packages/synt-0.1.0-py2.7.egg/EGG-INFO/scripts/synt", line 3, in
main()
File "/Users/prossi/Documents/Tawlk-synt-dfd2c6a/my_new_env3/lib/python2.7/site-packages/synt-0.1.0-py2.7.egg/synt/init.py", line 184, in main
redis_db = args.redis_db,
File "/Users/prossi/Documents/Tawlk-synt-dfd2c6a/my_new_env3/lib/python2.7/site-packages/synt-0.1.0-py2.7.egg/synt/trainer.py", line 43, in train
m.store_freqdists()
File "/Users/prossi/Documents/Tawlk-synt-dfd2c6a/my_new_env3/lib/python2.7/site-packages/synt-0.1.0-py2.7.egg/synt/utils/db.py", line 125, in store_freqdists
assert pos_words and neg_words, 'Requires wordcounts to be stored in redis.'
AssertionError: Requires wordcounts to be stored in redis.