파이썬 error (2) 썸네일형 리스트형 파이썬 UnknownError / ResourceExhaustedError / 메모리 에러 CNN 모델을 compile 하는데 다음과 같은 에러가 발생했다. 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. 찾아보니 메모리가 부족하다는것 같아서 열려있는 쥬피터 노트북들을 셧다운 시켜주었다. 셧다운 시키는 방법은 초록색이면 현재 돌아가거나 열려있는 노트북이라는 뜻으로 완전히 닫아주려면 체크해준후 shutdown을 눌러주면 된다. 그렇게 정리를 해주고 돌리니 compile 부분 언노운 에러는 해결되었다. 그러나 fit에서 다시 에러가 생겼다. R.. 파이썬 RuntimeError Variable += value not supported. Use variable.assign_add(value) to modify the variable value and variable = variable + value to get a new Tensor object. 케라스 창시자에게 배우는 딥러닝 실습 예제 8.3-neural-style-transfer 을 돌려 보던 중 런타임에러가 떴다. # Dict mapping layer names to activation tensors outputs_dict = dict([(layer.name, layer.output) for layer in model.layers]) # Name of layer used for content loss content_layer = 'block5_conv2' # Name of layers used for style loss style_layers = ['block1_conv1', 'block2_conv1', 'block3_conv1', 'block4_conv1', 'block5_conv1'] .. 이전 1 다음