Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with example1.py #3

Closed
kolesman opened this issue Sep 1, 2013 · 2 comments
Closed

Issue with example1.py #3

kolesman opened this issue Sep 1, 2013 · 2 comments

Comments

@kolesman
Copy link

kolesman commented Sep 1, 2013

Hi, guys!

When I run example1.py it raises exeception.
"""
kolesman@kolesman-Latitude:~/vowpal_porpoise/examples$ python example1.py
example1: training
[DEBUG] No existing model file or not options.incremental
[DEBUG] Running command: "vw --learning_rate=15.000000 --power_t=1.000000 --passes 10 --cache_file /home/kolesman/vowpal_porpoise/examples/example1.cache -f /home/kolesman/vowpal_porpoise/examples/example1.model"
done streaming.
final_regressor = /home/kolesman/vowpal_porpoise/examples/example1.model
Num weight bits = 18
learning rate = 15
initial_t = 0
power_t = 1
decay_learning_rate = 1
creating cache_file = /home/kolesman/vowpal_porpoise/examples/example1.cache
Reading datafile =
num sources = 1
average since example example current current current
loss last counter weight label predict features
0.360904 0.360904 3 3.0 1.0000 0.7933 5
0.266263 0.171622 6 6.0 0.0000 0.2465 5
-nan -nan 11 11.0 0.0000 0.0000 5 h
-nan -nan 22 22.0 0.0000 0.0000 5 h
-nan -nan 44 44.0 1.0000 1.0000 5 h
Traceback (most recent call last):
File "example1.py", line 86, in
for (instance, prediction) in SimpleModel('example1').train(instances).predict(instances):
File "example1.py", line 44, in train
print 'done streaming.'
File "/usr/lib/python2.7/contextlib.py", line 24, in exit
self.gen.next()
File "/usr/local/lib/python2.7/dist-packages/vowpal_porpoise-0.3-py2.7.egg/vowpal_porpoise/vw.py", line 167, in training
self.close_process()
File "/usr/local/lib/python2.7/dist-packages/vowpal_porpoise-0.3-py2.7.egg/vowpal_porpoise/vw.py", line 203, in close_process
(self.vw_process.pid, self.vw_process.command, self.vw_process.returncode))
Exception: vw_process 22007 (vw --learning_rate=15.000000 --power_t=1.000000 --passes 10 --cache_file /home/kolesman/vowpal_porpoise/examples/example1.cache -f /home/kolesman/vowpal_porpoise/examples/example1.model) exited abnormally with return code -11
"""

Do you have any ideas what is the source of problem?

@kolesman
Copy link
Author

kolesman commented Sep 1, 2013

It is a problem of current version of vowpal wabbit. I will report this bug on vw's mailing list.

@kolesman kolesman closed this as completed Sep 1, 2013
@kolesman
Copy link
Author

kolesman commented Sep 1, 2013

Here is thread with John Langford's reply to this problem:
http://groups.yahoo.com/neo/groups/vowpal_wabbit/conversations/topics/2502

I think you should fix your examples, because they could be confusing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant