DSatishchandra commited on
Commit
fb3320e
Β·
verified Β·
1 Parent(s): ed32826

Update train_lstm_model.py

Browse files
Files changed (1) hide show
  1. train_lstm_model.py +1 -1
train_lstm_model.py CHANGED
@@ -9,7 +9,7 @@ import shutil
9
  import tensorflow as tf
10
 
11
  # Disable GPU to avoid cuDNN/cuFFT/cuBLAS conflicts
12
- os.environ["CUDA_VISIBLE_DEVICES"] = "" # Force TensorFlow to use CPU
13
  print("CUDA_VISIBLE_DEVICES set to empty to disable GPU usage.")
14
 
15
  # Check TensorFlow version
 
9
  import tensorflow as tf
10
 
11
  # Disable GPU to avoid cuDNN/cuFFT/cuBLAS conflicts
12
+ os.environ["CUDA_VISIBLE_DEVICES"] = ""
13
  print("CUDA_VISIBLE_DEVICES set to empty to disable GPU usage.")
14
 
15
  # Check TensorFlow version