Getting this error

/usr/local/lib/python3.10/dist-packages/tensorflow/python/framework/ops.py in raise_from_not_ok_status(e, name) 5881 def raise_from_not_ok_status(e, name) → NoReturn: 5882 e.message += (" name: " + str(name if name is not None else “”)) → 5883 raise core._status_to_exception(e) from None # pylint: disable=protected-access 5884 5885

InvalidArgumentError: {{function_node__wrapped__IteratorGetNext_output_types_2_device_/job:localhost/replica:0/task:0/device:CPU:0}} Incompatible shapes at component 0: expected [64,64,64,1] but got [64,64,64,3]. [Op:IteratorGetNext] name:

The error indicates a shape mismatch in your TensorFlow operation. Ensure that the expected shape of the input matches the actual shape. If your model expects a single channel input ([64,64,64,1]), but you’re providing a three-channel input ([64,64,64,3]), you’ll need to adjust your data accordingly to match the expected single channel format.