Spaces:
Runtime error
Runtime error
Update train_lstm_model.py
Browse files- 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"] = ""
|
| 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
|