Marieke
04/23/2020, 11:40 PM_pickle.UnpicklingError: NEWOBJ class argument isn't a type object
Does anyone know why dagster isn't recognizing the object?max
04/23/2020, 11:48 PMMarieke
04/23/2020, 11:49 PM_pickle.UnpicklingError: NEWOBJ class argument isn't a type object
File "/usr/local/lib/python3.7/site-packages/dagster/core/errors.py", line 174, in user_code_error_boundary
yield
File "/usr/local/lib/python3.7/site-packages/dagster/core/execution/plan/execute.py", line 689, in _user_event_sequence_for_step_compute_fn
for event in gen:
File "/usr/local/lib/python3.7/site-packages/dagster/core/execution/plan/compute.py", line 93, in _execute_core_compute
for step_output in _yield_compute_results(compute_context, inputs, compute_fn):
File "/usr/local/lib/python3.7/site-packages/dagster/core/execution/plan/compute.py", line 64, in _yield_compute_results
for event in user_event_sequence:
File "/usr/local/lib/python3.7/site-packages/dagster/core/definitions/decorators.py", line 421, in compute
result = fn(context, **kwargs)
File "/opt/dagster/pipelines/dagster_examples/xgboost_test.py", line 20, in apply_model
model = pickle.load(infile)
max
04/24/2020, 12:27 AMdagster_examples/model_pickle.dat
?Marieke
04/24/2020, 12:28 AMmax
04/24/2020, 12:28 AMMarieke
04/24/2020, 12:29 AMmax
04/24/2020, 12:29 AMMarieke
04/24/2020, 12:29 AMmax
04/24/2020, 12:30 AMMarieke
04/24/2020, 12:30 AMmax
04/24/2020, 12:30 AMXGBClassifier.dump_model
and XGBClassified.load_model
resolved thisMarieke
04/24/2020, 12:31 AMmax
04/24/2020, 12:31 AMpython --version
and which python
in that environment and compare it against jupyter kernelspec list
Marieke
04/24/2020, 12:32 AMmax
04/24/2020, 12:35 AMpickle.dump
?Marieke
04/24/2020, 12:35 AMmax
04/24/2020, 12:37 AMMarieke
04/24/2020, 12:37 AMmax
04/24/2020, 1:00 AM