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

SVM error #12

Closed
alexgcsa opened this issue Feb 1, 2019 · 2 comments
Closed

SVM error #12

alexgcsa opened this issue Feb 1, 2019 · 2 comments
Labels
bug Something isn't working

Comments

@alexgcsa
Copy link
Collaborator

alexgcsa commented Feb 1, 2019

When running SVM for classification (workflow id: 39), it returns the following error:

_Traceback (most recent call last):
File "/usr/local/juicer/juicer/spark/spark_minion.py", line 438, in _perform_execute
self.state)
File "/usr/local/juicer/juicer/transpiler.py", line 296, in transpile
using_stdout, workflow, deploy, export_notebook)
File "/usr/local/juicer/juicer/transpiler.py", line 108, in generate_code
class_name = self.operations[task['operation']['slug']]
KeyError: u'svm-classification-model'

@waltersf waltersf added the bug Something isn't working label Feb 1, 2019
@waltersf
Copy link
Contributor

waltersf commented Feb 8, 2019

The referenced name in code for the SVM operation was incorrect. Fixed.

@waltersf waltersf closed this as completed Feb 8, 2019
@alexgcsa
Copy link
Collaborator Author

Not working yet (reopening the issue):

Traceback (most recent call last):
File "/usr/local/juicer/juicer/spark/spark_minion.py", line 460, in _perform_execute
self._emit_event(room=job_id, namespace='/stand'))
File "/tmp/juicer_app_87_87_420.py", line 617, in main
task_futures['aada130d-81f3-4d90-875f-309c000171de'].result()
File "/usr/local/lib/python2.7/dist-packages/concurrent/futures/_base.py", line 462, in result
return self.__get_result()
File "/usr/local/lib/python2.7/dist-packages/concurrent/futures/thread.py", line 63, in run
result = self.fn(*self.args, **self.kwargs)
File "/tmp/juicer_app_87_87_420.py", line 616, in
lambda: evaluate_model_5(spark_session, cached_state, emit_event))
File "/tmp/juicer_app_87_87_420.py", line 362, in evaluate_model_5
parent_result = task_futures['c5f52d1a-39f3-45e8-9af4-eb0fadc7cfaa'].result()
File "/usr/local/lib/python2.7/dist-packages/concurrent/futures/_base.py", line 462, in result
return self.__get_result()
File "/usr/local/lib/python2.7/dist-packages/concurrent/futures/thread.py", line 63, in run
result = self.fn(*self.args, **self.kwargs)
File "/tmp/juicer_app_87_87_420.py", line 355, in
lambda: apply_model_4(spark_session, cached_state, emit_event))
File "/tmp/juicer_app_87_87_420.py", line 323, in apply_model_4
out3 = model2.transform(sd15, params)
NameError: global name 'model2' is not defined

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants