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

Add segmentation pipeline #3106

Open
wants to merge 17 commits into
base: main
Choose a base branch
from
Open

Conversation

phorne-uncharted
Copy link
Contributor

No description provided.

@cdbethune
Copy link
Collaborator

I tried to test but keep getting an error about the dataset not having a Target or TrueTarget set on it:


WARNING - 2021-11-20 11:48:27,194 - v-main-2446619 - distil - Exception running task ID a09ca9a4-b00f-410b-9594-65540400e8fb: Step 6 for pipeline  failed.
Traceback (most recent call last):
  File "/home/chris/dev/miniconda3/envs/distil-auto-ml/lib/python3.6/site-packages/d3m/runtime.py", line 1114, in _do_run_step
    self._run_step(step)
  File "/home/chris/dev/miniconda3/envs/distil-auto-ml/lib/python3.6/site-packages/d3m/runtime.py", line 1104, in _run_step
    self._run_primitive(step)
  File "/home/chris/dev/miniconda3/envs/distil-auto-ml/lib/python3.6/site-packages/d3m/runtime.py", line 979, in _run_primitive
    multi_call_result = self._call_primitive_method(primitive.fit_multi_produce, fit_multi_produce_arguments)
  File "/home/chris/dev/miniconda3/envs/distil-auto-ml/lib/python3.6/site-packages/d3m/runtime.py", line 1080, in _call_primitive_method
    raise error
  File "/home/chris/dev/miniconda3/envs/distil-auto-ml/lib/python3.6/site-packages/d3m/runtime.py", line 1076, in _call_primitive_method
    result = method(**arguments)
  File "/home/chris/dev/miniconda3/envs/distil-auto-ml/lib/python3.6/site-packages/d3m/primitive_interfaces/transformer.py", line 71, in fit_multi_produce
    return self._fit_multi_produce(produce_methods=produce_methods, timeout=timeout, iterations=iterations, inputs=inputs)
  File "/home/chris/dev/miniconda3/envs/distil-auto-ml/lib/python3.6/site-packages/d3m/primitive_interfaces/base.py", line 570, in _fit_multi_produce
    produce_results = self._multi_produce(produce_methods=produce_methods, timeout=timeout, iterations=iterations, **kwargs)
  File "/home/chris/dev/miniconda3/envs/distil-auto-ml/lib/python3.6/site-packages/d3m/primitive_interfaces/base.py", line 466, in _multi_produce
    results.append(getattr(self, method_name)(timeout=timeout, iterations=iterations, **arguments))
  File "/home/chris/dev/git_work/common-primitives/common_primitives/extract_columns_semantic_types.py", line 98, in produce
    columns_to_use = self._get_columns(inputs.metadata)
  File "/home/chris/dev/git_work/common-primitives/common_primitives/extract_columns_semantic_types.py", line 133, in _get_columns
    semantic_types=self.hyperparams['semantic_types'],
ValueError: Input data has no columns matching semantic types: ('https://metadata.datadrivendiscovery.org/types/Target', 'https://metadata.datadrivendiscovery.org/types/TrueTarget')

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "main.py", line 201, in fit_task
    outputs_to_expose=output_keys,
  File "/home/chris/dev/git_work/distil-auto-ml/processing/pipeline.py", line 571, in fit
    raise result.error
  File "/home/chris/dev/miniconda3/envs/distil-auto-ml/lib/python3.6/site-packages/d3m/runtime.py", line 1151, in _run
    self._do_run()
  File "/home/chris/dev/miniconda3/envs/distil-auto-ml/lib/python3.6/site-packages/d3m/runtime.py", line 1131, in _do_run
    self._do_run_step(step)
  File "/home/chris/dev/miniconda3/envs/distil-auto-ml/lib/python3.6/site-packages/d3m/runtime.py", line 1123, in _do_run_step
    ) from error
d3m.exceptions.StepFailedError: Step 6 for pipeline  failed.
DEBUG - 2021-11-20 11:48:27,535 - v-main-2446619 - distil.server.ServerServicer - GetFitSolutionResultsResponse: progress {
  state: ERRORED
  status: "Step 6 for pipeline  failed."
}

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

Successfully merging this pull request may close these issues.

2 participants