danhtran2mind commited on
Commit
6a42b67
·
verified ·
1 Parent(s): 9adfeca

Update models/unet_gray2color.py

Browse files
Files changed (1) hide show
  1. models/unet_gray2color.py +2 -2
models/unet_gray2color.py CHANGED
@@ -2,9 +2,9 @@ import numpy as np
2
  import tensorflow as tf
3
  from tensorflow.keras.layers import (
4
  Input, Dense, Conv2D, MaxPooling2D, UpSampling2D, Concatenate,
5
- BatchNormalization, LayerNormalization, Dropout, MultiHeadAttention, Add, Reshape
6
  )
7
- from tensorflow.keras.models import Model
8
  from tensorflow.keras.optimizers import Adam
9
  from tensorflow.keras.callbacks import ModelCheckpoint, ReduceLROnPlateau, EarlyStopping
10
  from tensorflow.keras.mixed_precision import set_global_policy
 
2
  import tensorflow as tf
3
  from tensorflow.keras.layers import (
4
  Input, Dense, Conv2D, MaxPooling2D, UpSampling2D, Concatenate,
5
+ BatchNormalization, LayerNormalization, Dropout, MultiHeadAttention, Add, Reshape, Layer
6
  )
7
+ from tensorflow.keras.models import Model, layers
8
  from tensorflow.keras.optimizers import Adam
9
  from tensorflow.keras.callbacks import ModelCheckpoint, ReduceLROnPlateau, EarlyStopping
10
  from tensorflow.keras.mixed_precision import set_global_policy