When running the image stylization code with tensorflow version 2.4.0, the following error occurred:
tensorflow.python.framework.errors_impl.InternalError: Blas xGEMM launch failed : a.shape=[1,480000,64], b.shape=[1,480000,64], m=64, n=64, k=480000 [Op:Einsum]
The following two solutions are found by consulting the data:
1. Add the following code to the program:
import os
os.environ['CUDA_VISIBLE_DEVICES'] = '/gpu:0'
The program can run normally, but the CPU is used, and the running speed of the program is much slower
2. Modify the cudnn version, but it is generally not recommended. It is too troublesome.
Read More:
- tensorflow.python.framework.errors_impl.InternalError: Failed to create session.
- TensorFlow: InternalError: Blas SGEMM launch failed
- Internalerror: blas GEMM launch failed: A. shape = (100, 784), B. shape = (784, 10), M = 100, n = 10… Problem solving
- Tensorflow operation report error modulenotfounderror: no module named ‘tensorflow. Python. Types’ solution
- To solve the problem of importerror when installing tensorflow: libcublas.so . 10.0, failed to load the native tensorflow runtime error
- InternalError: Failed to create session. Error and solution
- Python has a bus error while importing tensorflow
- HYDU_ create_ Process (. /utils/launch/launch.c:69): execvp error on file.. Error handling
- Record a problem of no module named ‘tensorflow. Examples’ and’ tensorflow. Examples. Tutorials’ in tensorflow 2.0
- Points for attention in setting up robot framework + Python 3.7.0 environment
- InternalError: GPU sync failed
- Error in Python connection to mongodb pymongo.errors.OperationFailure : Authentication failed.
- Tensorflow error: module ‘tensorflow’ has no attribute ‘xxx’
- Using pip to install tensorflow: tensorflow — is not a supported wheel on this platform
- Tensorflow UnknownError (see above for traceback): Failed to get convolution algorithm. This is pro
- Yarn: runtime.ContainerExecutionException : launch container failed
- Blas loading error in MATLAB, unable to find the specified module
- Tensorflow error: attributeerror: module ‘tensorflow’ has no attribute ‘unpack’ (‘pack ‘)
- Resolve – keyerror encountered while installing tensorflow GPU: ‘tensorflow’ error
- Importerror using tensorflow: DLL load failed: the specified program cannot be found