Commit ab6f9af8 authored by Alessio Brutti's avatar Alessio Brutti
Browse files

back to previous version: works for python 6

parent fcc94026
import scipy.io as sio
import numpy as np
import tensorflow.python.keras.backend as K
from tensorflow.python.keras.layers import Input, GlobalAveragePooling2D, Reshape
from tensorflow.python.keras.layers.convolutional import Conv2D, ZeroPadding2D, MaxPooling2D, AveragePooling2D
from tensorflow.keras.layers import BatchNormalization
from tensorflow.python.keras.layers.core import Lambda, Activation
from tensorflow.python.keras.models import Model
#from tensorflow.python.keras.layers import Input, GlobalAveragePooling2D, Reshape
#from tensorflow.python.keras.layers.convolutional import Conv2D, ZeroPadding2D, MaxPooling2D, AveragePooling2D
#from tensorflow.keras.layers import BatchNormalization
#from tensorflow.python.keras.layers.core import Lambda, Activation
#from tensorflow.python.keras.models import Model
import keras.backend as K
from keras.layers import Input, GlobalAveragePooling2D, Reshape
from keras.layers.convolutional import Conv2D, ZeroPadding2D, MaxPooling2D, AveragePooling2D
from keras.layers import BatchNormalization
from keras.layers.core import Lambda, Activation
from keras.models import Model
# Block of layers: Conv --> BatchNorm --> ReLU --> Pool
......
Supports Markdown
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