tensorflow.python.framework.errors_impl.UnknownError: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above. [[node resnet/conv2d/Conv2D (defined at D:/myprojects/vision/mnist_cnn.py:51) ]] [Op:__inference_distributed_function_1751] 위와 같은 에러가 발생했다. 예상컨데, tensorflow-gpu에서 기본적으로 gpu의 메모리를 전부 할당하도록 ..
이전에 작성한 케라스 코드를 정리하던 도중에 다음과 같이 에러가 발생하였다. tensorflow.python.framework.errors_impl.FailedPreconditionError:Error while reading resource variable SGD/lr from Container: localhost. This could mean that the variable was uninitialized. Not found: Container localhost does not exist. (Could not find resource: localhost/SGD/lr) [[Node: training/SGD/ReadVariableOp_7 = ReadVariableOp[dtype=DT_FLOAT, _dev..