io
io copied to clipboard
Are tensorflow_io.bigquery and keras tuner compatible?
Hi. I'm training a model with tensorflow. I'm also using keras tuner and tensorflow_io.bigquery. I get the error below...is that due to a compatibility issue between keras tuner and tensorflow-io?....What do you think? Versions tensorflow==2.9.1 tensorflow-io==0.26.0 keras-tuner==1.1.2 Error:
---------------------------------------------------------------------------
NotFoundError Traceback (most recent call last)
~/Documentos/vertex_poc/training_app_pruebas/pruebas_tb_hp.py in <cell line: 1>()
----> 1 tuner.search(
2 dataset_train,
3 epochs=2,
4 batch_size=32,
5 validation_data=dataset_test
~/anaconda3/envs/tfxenv/lib/python3.8/site-packages/keras_tuner/engine/base_tuner.py in search(self, *fit_args, **fit_kwargs)
177
178 self.on_trial_begin(trial)
--> 179 results = self.run_trial(trial, *fit_args, **fit_kwargs)
180 # `results` is None indicates user updated oracle in `run_trial()`.
181 if results is None:
~/anaconda3/envs/tfxenv/lib/python3.8/site-packages/keras_tuner/engine/tuner.py in run_trial(self, trial, *args, **kwargs)
292 callbacks.append(model_checkpoint)
293 copied_kwargs["callbacks"] = callbacks
--> 294 obj_value = self._build_and_fit_model(trial, *args, **copied_kwargs)
295
296 histories.append(obj_value)
~/anaconda3/envs/tfxenv/lib/python3.8/site-packages/keras_tuner/engine/tuner.py in _build_and_fit_model(self, trial, *args, **kwargs)
220 hp = trial.hyperparameters
...
NotFoundError: Graph execution error:
Resource localhost/_0_IO>BigQueryClient/N10tensorflow22BigQueryClientResourceE does not exist.
[[{{node IO>BigQueryDataset}}]]
[[IteratorGetNext]] [Op:__inference_train_function_2700]
...Thanks in advance