This repository has been archived by the owner on Apr 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 655
Lucid error messages
Ludwig Schubert edited this page Apr 10, 2019
·
1 revision
Sometimes you may run into hard to understand TensorFlow error messages.
When running a graph you may encounter ops for which there is no kernel for the current device your operation is running on. For example, a graph with a Maxpool operation may only be executable on a GPU when running in NCHW mode.
Example error message:
InvalidArgumentError (see above for traceback): Default MaxPoolingOp only supports NHWC on device type CPU
Suggested Fix: Run the operation on the supported device type, or change the original graph to use less device specific operations.