For Week 4 Assignment, the model does not seem to learn during training

I have sorted the confidence score from discriminator at the end of each epoch and printed it. As you can see there does not seem to be a learning. I have rechecked my code, it seems to be in line with the lab for DCGAN. Can somebody point to the obvious mistakes I maybe making ?

Epoch 1/60
Top 10 scores are [0.4243295 0.24448283 0.24017523 0.20832491 0.19259214 0.1909895
0.15724634 0.15501381 0.13496666 0.13462836]
Number of valid images are 0
Epoch 2/60
Top 10 scores are [0.47960907 0.38627085 0.3593022 0.35069284 0.2457085 0.22529675
0.21551713 0.17517796 0.16549067 0.16160962]
Number of valid images are 0
Epoch 3/60
Top 10 scores are [0.7395593 0.68575424 0.59678745 0.55229545 0.5348237 0.4864059
0.42805773 0.4124974 0.33738858 0.3205242 ]
Number of valid images are 2
Epoch 4/60
Top 10 scores are [0.65057117 0.5609869 0.5528479 0.46807083 0.45212227 0.36226767
0.35718334 0.35555857 0.29712582 0.28369156]
Number of valid images are 1
Epoch 5/60
Top 10 scores are [0.2415481 0.2164508 0.21119702 0.20966564 0.20095262 0.183054
0.18192425 0.16367726 0.15857032 0.15022193]
Number of valid images are 0
Epoch 6/60
Top 10 scores are [0.74825305 0.64806855 0.60546994 0.57400084 0.5536198 0.51644737
0.5138747 0.50396866 0.50226927 0.43973804]
Number of valid images are 2
Epoch 7/60
Top 10 scores are [0.6283894 0.5145911 0.50235546 0.4838117 0.46229056 0.3203806
0.27872083 0.27791753 0.26543033 0.24511503]
Number of valid images are 1
Epoch 8/60
Top 10 scores are [0.4123954 0.34942773 0.31519088 0.29385975 0.2712534 0.265287
0.20361541 0.18231075 0.18102296 0.15979427]
Number of valid images are 0
Epoch 9/60
Top 10 scores are [0.37674507 0.33670685 0.2677713 0.26450798 0.2580021 0.2514548
0.25033778 0.21262182 0.19694938 0.18519896]
Number of valid images are 0
Epoch 10/60
Top 10 scores are [0.74754655 0.6425377 0.6150732 0.314342 0.27842227 0.25963575
0.23547868 0.1979232 0.19560124 0.17561491]
Number of valid images are 3
Epoch 11/60
Top 10 scores are [0.61423296 0.613368 0.51346624 0.3853426 0.3109955 0.29472843
0.2475451 0.24627241 0.1995505 0.18214354]
Number of valid images are 2
Epoch 12/60
Top 10 scores are [0.67780095 0.48628247 0.37158787 0.36989644 0.35292602 0.34259337
0.27532378 0.26502383 0.2395366 0.22213598]
Number of valid images are 1
Epoch 13/60
Top 10 scores are [0.7435633 0.639637 0.58980864 0.5183262 0.50574857 0.46883214
0.45375103 0.45063415 0.43312898 0.4323009 ]
Number of valid images are 2
Epoch 14/60
Top 10 scores are [0.35427797 0.30097452 0.2984902 0.25928143 0.23734514 0.17918073
0.15637836 0.14931048 0.14351973 0.13902721]
Number of valid images are 0
Epoch 15/60
Top 10 scores are [0.26988572 0.25781384 0.25672802 0.24891326 0.23100336 0.21898451
0.2078877 0.20757063 0.19530466 0.1896702 ]
Number of valid images are 0
Epoch 16/60
Top 10 scores are [0.8029626 0.80194634 0.7989914 0.7141654 0.6679712 0.5882646
0.55904067 0.55793554 0.5490607 0.53419423]
Number of valid images are 5
Epoch 17/60
Top 10 scores are [0.3471538 0.3386847 0.33633307 0.22825041 0.18281987 0.16178177
0.14497767 0.12850215 0.11987107 0.09661234]
Number of valid images are 0
Epoch 18/60
Top 10 scores are [0.752643 0.46855846 0.4615355 0.40261406 0.36355573 0.29290065
0.2877358 0.28578255 0.27426666 0.2371312 ]
Number of valid images are 1
Epoch 19/60
Top 10 scores are [0.39352414 0.3263741 0.32580954 0.30297253 0.25956914 0.17076331
0.17010169 0.16396262 0.15810293 0.14227301]
Number of valid images are 0
Epoch 20/60
Top 10 scores are [0.39889368 0.2898443 0.26034993 0.23858194 0.22730006 0.18828247
0.1404731 0.13864647 0.11385008 0.11133746]
Number of valid images are 0
Epoch 21/60
Top 10 scores are [0.40599686 0.33824664 0.2501244 0.22045915 0.20078205 0.19031101
0.16400501 0.15059696 0.14961854 0.14873482]
Number of valid images are 0
Epoch 22/60
Top 10 scores are [0.42070228 0.3937688 0.3315031 0.3022381 0.29658318 0.22976343
0.22539276 0.18978581 0.18064009 0.17227028]
Number of valid images are 0
Epoch 23/60
Top 10 scores are [0.68414855 0.63600045 0.6144294 0.6020877 0.5159801 0.5076983
0.49186552 0.49077183 0.41737694 0.41553283]
Number of valid images are 3
Epoch 24/60
Top 10 scores are [0.68837243 0.29745662 0.2748258 0.23217225 0.2115118 0.19362304
0.15268753 0.1379576 0.13412727 0.13256702]
Number of valid images are 1
Epoch 25/60
Top 10 scores are [0.5507238 0.4580677 0.45509946 0.38973537 0.29168075 0.27868488
0.2740837 0.2737742 0.2514108 0.24422061]
Number of valid images are 0
Epoch 26/60
Top 10 scores are [0.4846206 0.4468074 0.3455552 0.34500784 0.3426912 0.33353308
0.31918734 0.30313393 0.2942755 0.2520746 ]
Number of valid images are 0
Epoch 27/60
Top 10 scores are [0.81770515 0.49105257 0.4859251 0.29661056 0.29123712 0.28464222
0.2735095 0.24389425 0.24321805 0.24148847]
Number of valid images are 1
Epoch 28/60
Top 10 scores are [0.3891719 0.28604853 0.26975024 0.19127044 0.18057917 0.18029337
0.16796997 0.15870824 0.13917772 0.1380778 ]
Number of valid images are 0
Epoch 29/60
Top 10 scores are [0.40349966 0.22690392 0.2047995 0.16171162 0.14520371 0.1329565
0.12655288 0.12180278 0.11907482 0.10862169]
Number of valid images are 0
Epoch 30/60
Top 10 scores are [0.76474637 0.5969595 0.42736617 0.39193135 0.38676986 0.38580808
0.35786083 0.32944384 0.31723195 0.2661768 ]
Number of valid images are 1
Epoch 31/60
Top 10 scores are [0.59943795 0.55391824 0.5422904 0.5326547 0.52827567 0.50044614
0.4549304 0.4315641 0.4069805 0.37716228]
Number of valid images are 0
Epoch 32/60
Top 10 scores are [0.4619367 0.27867183 0.27393845 0.22947095 0.22463727 0.21419327
0.20378895 0.16030647 0.15867555 0.10371373]
Number of valid images are 0
Epoch 33/60
Top 10 scores are [0.08287641 0.0553129 0.04316188 0.04206068 0.04091739 0.03980967
0.03398067 0.03360019 0.03239815 0.0293278 ]
Number of valid images are 0
Epoch 34/60
Top 10 scores are [0.52151334 0.4945509 0.3588642 0.3257821 0.32259417 0.2874875
0.25282988 0.21013395 0.20761038 0.19724841]
Number of valid images are 0
Epoch 35/60
Top 10 scores are [0.3762792 0.27858898 0.23450685 0.18853654 0.18178071 0.16687039
0.16674154 0.1634532 0.15618466 0.15351011]
Number of valid images are 0
Epoch 36/60
Top 10 scores are [0.52382404 0.49988 0.43968275 0.31477052 0.2179604 0.16309707
0.14894333 0.14649332 0.11640637 0.08941346]
Number of valid images are 0
Epoch 37/60
Top 10 scores are [0.20820616 0.18354848 0.17695281 0.15330757 0.09321627 0.08103182
0.06773982 0.05972645 0.05734391 0.04976581]
Number of valid images are 0
Epoch 38/60
Top 10 scores are [0.33905217 0.2837624 0.18381983 0.17837326 0.17106192 0.16168705
0.16092514 0.1298385 0.12369087 0.10614151]
Number of valid images are 0
Epoch 39/60
Top 10 scores are [0.4891995 0.466078 0.45419177 0.4469323 0.44577911 0.43991366
0.4176383 0.38117915 0.35364518 0.30219185]
Number of valid images are 0
Epoch 40/60
Top 10 scores are [0.45049095 0.25431785 0.2009695 0.16920047 0.16403131 0.16172728
0.1592909 0.13922743 0.13420528 0.12536633]
Number of valid images are 0
Epoch 41/60
Top 10 scores are [0.61567974 0.385324 0.35849467 0.32707763 0.29615206 0.2709168
0.26659402 0.26319054 0.24560994 0.19232005]
Number of valid images are 1
Epoch 42/60
Top 10 scores are [0.4255802 0.30313978 0.21614526 0.17411946 0.14536723 0.1368771
0.12192625 0.12168854 0.11819069 0.09475949]
Number of valid images are 0
Epoch 43/60
Top 10 scores are [0.2496291 0.24946441 0.23956385 0.16958883 0.16658773 0.1663828
0.14964876 0.09197144 0.08029478 0.07986163]
Number of valid images are 0
Epoch 44/60
Top 10 scores are [0.7548487 0.70985895 0.6027344 0.5861659 0.53710073 0.5013773
0.4645637 0.45029962 0.37887174 0.35963655]
Number of valid images are 2
Epoch 45/60
Top 10 scores are [0.74597114 0.6927859 0.4671085 0.45172504 0.4457583 0.42904088
0.41644764 0.413354 0.35721317 0.22282735]
Number of valid images are 2
Epoch 46/60
Top 10 scores are [0.28305265 0.17125392 0.1521359 0.12181602 0.11878341 0.11805858
0.11452564 0.09545736 0.08981099 0.08816487]
Number of valid images are 0
Epoch 47/60
Top 10 scores are [0.5343646 0.5282686 0.5132345 0.51046973 0.49769527 0.47294003
0.45614815 0.4483954 0.3771751 0.30094072]
Number of valid images are 0
Epoch 48/60
Top 10 scores are [0.6656453 0.33540055 0.19904816 0.17460237 0.16297625 0.13652818
0.12720555 0.0975991 0.09173265 0.09053884]
Number of valid images are 1
Epoch 49/60
Top 10 scores are [0.85040754 0.38334528 0.2952196 0.28702083 0.2737933 0.22795638
0.17525114 0.16085912 0.15863997 0.14931993]
Number of valid images are 1
Epoch 50/60
Top 10 scores are [0.55678713 0.5047216 0.4917421 0.38179332 0.32218426 0.31256396
0.26344758 0.25590304 0.23252855 0.23035805]
Number of valid images are 0
Epoch 51/60
Top 10 scores are [0.5050599 0.29135603 0.23614018 0.19886221 0.19721165 0.18620697
0.18082242 0.17168732 0.13021189 0.13012958]
Number of valid images are 0
Epoch 52/60
Top 10 scores are [0.19335692 0.18319926 0.16079126 0.15701355 0.15645052 0.1469051
0.14390655 0.14068592 0.13667373 0.11705867]
Number of valid images are 0
Epoch 53/60
Top 10 scores are [0.33082643 0.2535419 0.25170684 0.24731535 0.18820855 0.17739318
0.13660401 0.13626674 0.1294117 0.12249787]
Number of valid images are 0
Epoch 54/60
Top 10 scores are [0.81083554 0.7699955 0.760046 0.7189661 0.7176132 0.54173815
0.3723627 0.35256326 0.3046682 0.296387 ]
Number of valid images are 5
Epoch 55/60
Top 10 scores are [0.53318673 0.46827745 0.46536097 0.33667988 0.31592467 0.29393312
0.2612464 0.21602258 0.17558716 0.17338867]
Number of valid images are 0
Epoch 56/60
Top 10 scores are [0.61436766 0.49600676 0.4685662 0.4653021 0.46047053 0.4402737
0.4230678 0.40452924 0.38607365 0.3619167 ]
Number of valid images are 1
Epoch 57/60

If the model is not learning that surely you must be doing something wrong, I would go back from the beginning and recheck the code again!

A problem might be because you are not training the generator and discriminator separately i.e. when you train the generator the discriminator should not be trainable.