neka-nat / image_completion_tf2

"Globally and Locally Consistent Image Completion" with Tensorflow2 Keras
31 stars 11 forks source link

test.py #20

Open Yaizzz opened 3 years ago

Yaizzz commented 3 years ago

Hi neka-nat. I put the required pictures where they are needed. I trained my model and ı have generator.h5, discriminator.h5 . But my test.py only shows model summary. Can u help me please? My code output is:

WARNING:tensorflow:No training configuration found in save file: the model was not compiled. Compile it manually. Model: "sequential"


Layer (type) Output Shape Param #

conv2d (Conv2D) (None, 256, 256, 64) 4864


batch_normalization (BatchNo (None, 256, 256, 64) 256


activation (Activation) (None, 256, 256, 64) 0


conv2d_1 (Conv2D) (None, 128, 128, 128) 73856


batch_normalization_1 (Batch (None, 128, 128, 128) 512


activation_1 (Activation) (None, 128, 128, 128) 0


conv2d_2 (Conv2D) (None, 128, 128, 128) 147584


batch_normalization_2 (Batch (None, 128, 128, 128) 512


activation_2 (Activation) (None, 128, 128, 128) 0


conv2d_3 (Conv2D) (None, 64, 64, 256) 295168


batch_normalization_3 (Batch (None, 64, 64, 256) 1024


activation_3 (Activation) (None, 64, 64, 256) 0


conv2d_4 (Conv2D) (None, 64, 64, 256) 590080


batch_normalization_4 (Batch (None, 64, 64, 256) 1024


activation_4 (Activation) (None, 64, 64, 256) 0


conv2d_5 (Conv2D) (None, 64, 64, 256) 590080


batch_normalization_5 (Batch (None, 64, 64, 256) 1024


activation_5 (Activation) (None, 64, 64, 256) 0


conv2d_6 (Conv2D) (None, 64, 64, 256) 590080


batch_normalization_6 (Batch (None, 64, 64, 256) 1024


activation_6 (Activation) (None, 64, 64, 256) 0


conv2d_7 (Conv2D) (None, 64, 64, 256) 590080


batch_normalization_7 (Batch (None, 64, 64, 256) 1024


activation_7 (Activation) (None, 64, 64, 256) 0


conv2d_8 (Conv2D) (None, 64, 64, 256) 590080


batch_normalization_8 (Batch (None, 64, 64, 256) 1024


activation_8 (Activation) (None, 64, 64, 256) 0


conv2d_9 (Conv2D) (None, 64, 64, 256) 590080


batch_normalization_9 (Batch (None, 64, 64, 256) 1024


activation_9 (Activation) (None, 64, 64, 256) 0


conv2d_10 (Conv2D) (None, 64, 64, 256) 590080


batch_normalization_10 (Batc (None, 64, 64, 256) 1024


activation_10 (Activation) (None, 64, 64, 256) 0


conv2d_11 (Conv2D) (None, 64, 64, 256) 590080


batch_normalization_11 (Batc (None, 64, 64, 256) 1024


activation_11 (Activation) (None, 64, 64, 256) 0


conv2d_transpose (Conv2DTran (None, 128, 128, 128) 524416


batch_normalization_12 (Batc (None, 128, 128, 128) 512


activation_12 (Activation) (None, 128, 128, 128) 0


conv2d_12 (Conv2D) (None, 128, 128, 128) 147584


batch_normalization_13 (Batc (None, 128, 128, 128) 512


activation_13 (Activation) (None, 128, 128, 128) 0


conv2d_transpose_1 (Conv2DTr (None, 256, 256, 64) 131136


batch_normalization_14 (Batc (None, 256, 256, 64) 256


activation_14 (Activation) (None, 256, 256, 64) 0


conv2d_13 (Conv2D) (None, 256, 256, 32) 18464


batch_normalization_15 (Batc (None, 256, 256, 32) 128


activation_15 (Activation) (None, 256, 256, 32) 0


conv2d_14 (Conv2D) (None, 256, 256, 3) 867


batch_normalization_16 (Batc (None, 256, 256, 3) 12


activation_16 (Activation) (None, 256, 256, 3) 0

Total params: 6,076,495 Trainable params: 6,070,537 Non-trainable params: 5,958