Commit 0dfe7a42 authored by Martino Bertoni's avatar Martino Bertoni 🌋
Browse files

importing keras from tensorflow

parent 4984d062
Pipeline #2457 failed with stages
in 6 minutes and 27 seconds
......@@ -7,7 +7,7 @@ import pandas as pd
from time import time
from tqdm import tqdm
from functools import partial
import keras
from tensorflow import keras
import tensorflow as tf
from keras import backend as K
from keras.layers import Dense, Dropout
......
import os
import keras
import pickle
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 import keras
from keras.callbacks import *
from keras import backend as K
import matplotlib.pyplot as plt
......
import os
import keras
import pickle
import numpy as np
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
......
import os
import keras
import pickle
import numpy as np
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
......
import os
import keras
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
......
......@@ -4,6 +4,8 @@ import pickle
import numpy as np
import pandas as pd
from tqdm import tqdm
from tensorflow import keras
from keras import backend as K
from keras.models import Sequential
from MulticoreTSNE import MulticoreTSNE
......
......@@ -20,7 +20,7 @@ class MetricLearn(BaseTransform):
def __init__(self, sign1, tmp, name, max_keys):
try:
from keras.layers import Dense
from tensorflow.keras.layers import Dense
except ImportError:
raise ImportError("requires tensorflow " +
"https://www.tensorflow.org/")
......
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