Commit e41ca48b authored by Martino Bertoni's avatar Martino Bertoni 🌋
Browse files

fixing keras imports again

parent 0dfe7a42
Pipeline #2458 failed with stages
in 7 minutes and 42 seconds
......@@ -9,8 +9,8 @@ from tqdm import tqdm
from functools import partial
from tensorflow import keras
import tensorflow as tf
from keras import backend as K
from keras.layers import Dense, Dropout
from tensorflow.keras import backend as K
from tensorflow.keras.layers import Dense, Dropout
from chemicalchecker.util import logged
from chemicalchecker.util.splitter import PairTraintest
......
......@@ -4,8 +4,8 @@ import numpy as np
from time import time
import tensorflow as tf
from tensorflow import keras
from keras import backend as K
from keras.layers import Dense, Dropout
from tensorflow.keras import backend as K
from tensorflow.keras.layers import Dense, Dropout
from chemicalchecker.util import logged
from chemicalchecker.util.splitter import Traintest
......
from tensorflow import keras
from keras.callbacks import *
from keras import backend as K
from tensorflow.keras.callbacks import *
from tensorflow.keras import backend as K
import matplotlib.pyplot as plt
import numpy as np
import tempfile
......
......@@ -5,10 +5,10 @@ from time import time
from functools import partial
from tensorflow import keras
from keras import backend as K
from keras.models import Model, Sequential
from keras.callbacks import EarlyStopping, Callback
from keras.layers import Input, Dropout, Lambda, Dense
from tensorflow.keras import backend as K
from tensorflow.keras.models import Model, Sequential
from tensorflow.keras.callbacks import EarlyStopping, Callback
from tensorflow.keras.layers import Input, Dropout, Lambda, Dense
from chemicalchecker.util import logged
from chemicalchecker.util.splitter import NeighborPairTraintest
......
......@@ -5,14 +5,14 @@ from time import time
from functools import partial
from tensorflow import keras
from keras import backend as K
from keras.layers import concatenate
from keras.models import Model, Sequential
from keras.callbacks import EarlyStopping, Callback
from keras.layers import Input, Dropout, Lambda, Dense
from keras.layers import Activation, Masking, BatchNormalization
from keras.layers import GaussianNoise, AlphaDropout, GaussianDropout
from keras import regularizers
from tensorflow.keras import backend as K
from tensorflow.keras.layers import concatenate
from tensorflow.keras.models import Model, Sequential
from tensorflow.keras.callbacks import EarlyStopping, Callback
from tensorflow.keras.layers import Input, Dropout, Lambda, Dense
from tensorflow.keras.layers import Activation, Masking, BatchNormalization
from tensorflow.keras.layers import GaussianNoise, AlphaDropout, GaussianDropout
from tensorflow.keras import regularizers
from chemicalchecker.util import logged
from chemicalchecker.util.splitter import NeighborTripletTraintest
......
......@@ -3,9 +3,9 @@ import pickle
import scipy.stats as stats
from tensorflow import keras
from keras import backend as K
from keras.models import Sequential
from keras.layers import Dropout, Dense, Activation
from tensorflow.keras import backend as K
from tensorflow.keras.models import Sequential
from tensorflow.keras.layers import Dropout, Dense, Activation
import seaborn as sns
from matplotlib import pyplot as plt
......
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