Commit e2a48dcb authored by Nuno Miguel Caetano Alves's avatar Nuno Miguel Caetano Alves
Browse files

Update app.py

parent 867d786b
Pipeline #840 passed with stage
in 37 minutes and 21 seconds
import os
os.environ["CUDA_DEVICE_ORDER"] = "PCI_BUS_ID"
os.environ["CUDA_VISIBLE_DEVICES"] = ""
seed_value = 123123
#seed_value = None
import sys
import numpy as np
import random
......@@ -9,10 +14,6 @@ from tensorflow.compat.v1 import ConfigProto
from tensorflow.compat.v1 import InteractiveSession
import tensorflow.compat.v1.keras.backend as K
import os
os.environ["CUDA_DEVICE_ORDER"] = "PCI_BUS_ID"
os.environ["CUDA_VISIBLE_DEVICES"] = ""
environment_name = sys.executable.split('/')[-3]
print('Environment:', environment_name)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment