Epoch 1/5 2023-01-28 13:36:09.066970: W tensorflow/tsl/platform/profile_utils/cpu_utils.cc:128] Failed to get CPU frequency: 0 Hz 2023-01-28 13:36:09.479185: I tensorflow/core/grappler/optimizers/custom_graph_optimizer_registry.cc:114] Plugin optimizer for device_type GPU is enabled. 2023-01-28 13:36:10.337414: W tensorflow/core/framework/op_kernel.cc:1830] OP_REQUIRES failed at xla_ops.cc:418 : NOT_FOUND: could not find registered platform with id: 0x1493d4fb0 2023-01-28 13:36:10.338314: W tensorflow/core/framework/op_kernel.cc:1830] OP_REQUIRES failed at xla_ops.cc:418 : NOT_FOUND: could not find registered platform with id: 0x1493d4fb0
NotFoundError Traceback (most recent call last) Cell In[18], line 3 1 model.compile(loss='binary_crossentropy',optimizer='adam',metrics=['accuracy']) ----> 3 model.fit(X_train,y_train,epochs=5,validation_data=(X_test,y_test))
File ~/opt/anaconda3/envs/tensorflow/lib/python3.10/site-packages/keras/utils/traceback_utils.py:70, in filter_traceback..error_handler(*args, **kwargs)
67 filtered_tb = _process_traceback_frames(e.traceback)
68 # To get the full stack trace, call:
69 # tf.debugging.disable_traceback_filtering()
---> 70 raise e.with_traceback(filtered_tb) from None
71 finally:
72 del filtered_tb
File ~/opt/anaconda3/envs/tensorflow/lib/python3.10/site-packages/tensorflow/python/eager/execute.py:52, in quick_execute(op_name, num_outputs, inputs, attrs, ctx, name) 50 try: 51 ctx.ensure_initialized() ---> 52 tensors = pywrap_tfe.TFE_Py_Execute(ctx._handle, device_name, op_name, 53 inputs, attrs, num_outputs) 54 except core._NotOkStatusException as e: 55 if name is not None:
NotFoundError: Graph execution error:
Detected at node 'StatefulPartitionedCall_3' defined at (most recent call last): File "/Users/sachinyadav/opt/anaconda3/envs/tensorflow/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File " File "/Users/sachinyadav/opt/anaconda3/envs/tensorflow/lib/python3.10/site-packages/keras/utils/traceback_utils.py", line 65, in error_handler return fn(*args, **kwargs) File "/Users/sachinyadav/opt/anaconda3/envs/tensorflow/lib/python3.10/site-ning.py", line 1233, in step_function
0 derived errors ignored. [Op:__inference_train_function_1584]