forked from cotes2020/jekyll-theme-chirpy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
3 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
title: CPU, GPU 환경에서 Tensorflow 모델의 출력 차이 | ||
author: cotes | ||
date: 2024-05-05 00:34:00 +0800 | ||
categories: [버그 리포트, Tensorflow] | ||
tags: [favicon] | ||
--- | ||
|
||
|
||
|
||
## CPU, GPU 환경에서 Tensorflow 모델이 다른 출력을 내보내는 이슈 | ||
|
||
|
||
kaggle 노트북 상에서 cpu 환경에서 gru 출력을 내보내는 코드 | ||
|
||
![cpu 환경에서 사진](assets\img\posts\20240505\CPU환경에서 출력.png) | ||
|
||
이상없이 잘 돌아간다. | ||
|
||
|
||
![gpu 환경에서 사진](assets\img\posts\20240505\GPUT4x2에서의 출력.png) | ||
|
||
|
||
하지만 GPU 환경에서는 출력 값이 cpu 환경과 달라 오류가 발생한다. | ||
|
||
모든 코드와 변수도 동일한데 왜 이런 현상이 생길까? |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.