I’m trying to create a pipeline for ML project. But whenever I run the the Tuner component, I get this error
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
/tmp/ipykernel_623970/2105798542.py in <cell line: 1>()
----> 1 context.run(tuner, enable_cache=False)
~/miniconda3/envs/pipe/lib/python3.9/site-packages/tfx/orchestration/experimental/interactive/notebook_utils.py in run_if_ipython(*args, **kwargs)
29 # __IPYTHON__ variable is set by IPython, see
30 # https://ipython.org/ipython-doc/rel-0.10.2/html/interactive/reference.html#embedding-ipython.
---> 31 return fn(*args, **kwargs)
32 else:
33 logging.warning(
~/miniconda3/envs/pipe/lib/python3.9/site-packages/tfx/orchestration/experimental/interactive/interactive_context.py in run(self, component, enable_cache, beam_pipeline_args)
162 telemetry_utils.LABEL_TFX_RUNNER: runner_label,
163 }):
--> 164 execution_id = launcher.launch().execution_id
165
166 return execution_result.ExecutionResult(
~/miniconda3/envs/pipe/lib/python3.9/site-packages/tfx/orchestration/launcher/base_component_launcher.py in launch(self)
204 # be immutable in this context.
205 # output_dict can still be changed, specifically properties.
--> 206 self._run_executor(execution_decision.execution_id,
207 copy.deepcopy(execution_decision.input_dict),
208 execution_decision.output_dict,
...
--> 677 if len(sorted_trials) < num_trials:
678 sorted_trials = sorted_trials + [
679 t
TypeError: '<' not supported between instances of 'int' and 'NoneType'
Any help…?