C3W3 Assignment training time

Hello @memoros77,

corrections required.

  1. in def conv_block
    your data_format code should be the recall function of image_ordering and not image_ordering.

  2. in def FCN8
    In your Block codes as instructions given

  3. We recommend keeping the pool size and stride parameters constant at 2.
    Please use unit also 2 and not 3 or all the conv_block

  4. in the same def FCN8
    Upsample o above and crop any extra pixels introduced
    kindly remove the below codes
    use_bias = False, data_format=IMAGE_ORDERING

  5. load the pool 4 prediction and do a 1x1 convolution to reshape it to the same shape of o above, remove data_format.

  6. remove use_bias = False, data_format=IMAGE_ORDERING from code line
    upsample the resulting tensor of the operation you just did

  7. in the below code line, again for data_Format use the recall function of image_ordering and not image_ordering
    load the pool 3 prediction and do a 1x1 convolution to reshape it to the same shape of o above

  8. Remove use_bias = False, data_format=IMAGE_ORDERING from code line upsample up to the size of the original image.

  9. for model compile statement, use Adam optimizer instead of SGD, momentum=0.9, nesterov=True

  10. the epoch you used is too high, try using the same number of epoch as shown in the expected output which is 70.

Do these corrections and let me know once your issue is resolved.

Sorry for the delay in response as had other notebooks to review.

Regards
DP

2 Likes