TensorFlow
[Tensorflow] ResourceExhaustedError: OOM when allocating tensor with shape[9,9,224,256] and type float on /job:localhost/replica:0/task:0/device:GPU:0 by allocator GPU_0_bfc [Op:Fill]
Error ResourceExhaustedError: OOM when allocating tensor with shape[9,9,224,256] and type float on /job:localhost/replica:0/task:0/device:GPU:0 by allocator GPU_0_bfc [Op:Fill] Solution Out of Memory 때문에 있는 현상입니다. GPU 메모리가 다른 작업에 이미 모두 할당된 상태인 경우에 해당합니다. 참고 링크: https://github.com/tensorflow/tensorflow/issues/16768
[Tensorflow]CUDA runtime implicit initialization on GPU:0 failed. Status: all CUDA-capable devices are busy or unavailable
(Problem): InternalError: CUDA runtime implicit initialization on GPU:0 failed. Status: all CUDA-capable devices are busy or unavailable (Solution) GPU 효율적으로 사용하기 위한 세팅 필요 1. 주피터 노트북 셧다운 가장 기초?적인 시도는 사용중이 주피터 노트북을 셧다운 시키는 것입니다. 사용하지 않는 주피터 노트북은 셧다운 시킴으로서 사용하고 있는 노트북만 활성화해주세요. 2. GPU 메모리 초기화 셧다운했는데도 nvidia-smi 명령어를 터미널에 쳤을때, 여전히 GPU 메모리가 10% 이상 사용중이라 뜬다면?https://kaen2891.tistory.com/28위의 블로그에서 보여..
[Tensorflow]tensorflow:Can save best model only with val_acc available, skipping
참고 링크: https://stackoverflow.com/questions/61505749/tensorflowcan-save-best-model-only-with-val-acc-available-skipping (Problem) Model Checkpoing Error tensorflow:Can save best model only with val_acc available, skipping (Solution) val_acc -> val_accuracy
[Tensorflow] CUDA runtime implicit initialization on GPU:0 failed.
참고 링크: github.com/tensorflow/tensorflow/issues/41990 Error CUDA runtime implicit initialization on GPU:0 failed. Tensorflow 사용 버전: 2.2.0 가장 베이직한 시도는 Tensorflow 공식 홈에 가서 gpu 지원 관련 문서에 본인이 해당하는 오류를 검색하고 가이드라인을 따라가면 된다. 그러나 가끔 그런 것도 아예 안 먹힐 때가 있다. 그때부터는 Tensorflow에서 제공하는 github이슈나 Stackoverflow를 참고하면 좋다. 구글링도 좋지만 이러한 방법을 먼저 시도해보는 것도 튜토리얼 읽는 스킬이 늘어난다. (하지만 .. 나도 모르게 ctrl + c, v 중...) Solution 다행히 Gi..