Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Chapter 6: Enhancing and Segmenting Images

In Chapter 6 of the book, several paradigms for pixel-precise applications were covered. We introduced encoders-decoders and some specific architectures like U-Net and FCN. We presented how to apply them to multiple tasks from image denoising to semantic segmentation. We also demonstrated how different solutions can be combined to tackle more advanced problems like instance segmentation.

In this folder, readers can find several notebooks tackling these various notions. Addtionally, some of the key code snippets are compiled into reusable Python files.

Notebooks

Additional Files

  • cityscapes_utils.py: functions to pre-process, serve, visualize the Cityscapes dataset (code presented in notebook 6.4).
  • fcn.py: Keras implementation of the FCN-8s model (code presented in notebook 6.5).
  • keras_custom_callbacks.py: Custom callbacks to monitor the training of Keras models (code presented in notebook 6.2).
  • plot_utils.py: Plot helper functions (code presented in notebooks 6.1- 6.2).
  • tf_losses_and_metrics.py: Custom TensorFlow/Keras losses and metrics for encoders-decoders (code presented in notebooks 6.1-6.2-6.5-6-6).
  • tf_math.py: Advanced math/morphological functions in TensorFlow (code presented in notebooks 6.2-6.5).
  • unet.py: Keras implementation of the U-Net model (code presented in notebook 6.3).