Skip to content

Hint based Image Colorization ConvNet Challenge 2022 in Computer Vision from Prof. YJ Jung in Gachon Univ

Notifications You must be signed in to change notification settings

catsaveearth/Hint-based-Image-Colorization-Using-HSCAU-Net

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hint-based-Image-Colorization-Using-HSCAU-Net

2022-1, Gachon University, Department of Software, Computer Vision Term Project



Hint-based Image Colorization

Hint-based colorization reconstructs complete colorful images by propagating the color hint given by users. For the hint-based colorization task, each solution should first convert the provided RGB image to LAB image. The inputs of the model should be an ”L” image (i.e. grayscale image or intensity image) and a color hint map. The output will be a predicted ”AB” image that will be concatenated with the input L image to produce the final colorized image. An overview is shown below.

flow example

[example : Real-Time User-Guided Image Colorization with Learned Deep Priors](https://richzhang.github.io/InteractiveColorization/)




HSCAU-Net Model Architecture

  • Hint-and Spatial-Channel attention U-Net 그림1

  • Skip-connection

skip-connection



Training dataset

  • Dataset Size : 10000 / 2000
  • Using Place365 and ImageNet datasets
  • Image size : 256 x 256

skip-connection



Using Hyper-parameter

  • Batch size : 32
  • Optimizer : Adam (betas = (0.5, 0.999))
  • Learning rate : 5e-4 (~186 epoch) -> 5e-5 (~286 epoch) -> 5e-6 (~324 epoch) -> 5e-8 (~338 epoch)


Model Result

  • Our best model => 338 epoch model
epoch PSNR SSIM
186 31.392856 0.966241
338 31.521526 0.966740



Test dataset Result

ex1 ex2



How to use model

You can download the optimal weight pth from the link below and run this model.

https://drive.google.com/file/d/14MoLIljh5RvXacBYw33ajaY3Zkd76Mu9/view?usp=sharing



Reference paper

  1. Ronneberger, Olaf, Philipp Fischer, and Thomas Brox. "U-net: Convolutional networks for biomedical image segmentation." International Conference on Medical image computing and computer-assisted intervention. Springer, Cham, 2015.
  2. Zhang, Richard, Phillip Isola, and Alexei A. Efros. "Colorful image colorization." European conference on computer vision. Springer, Cham, 2016.
  3. Zhang, Richard, et al. "Real-time user-guided image colorization with learned deep priors." arXiv preprint arXiv:1705.02999 (2017)
  4. Xiao, Yi, et al. "Interactive deep colorization using simultaneous global and local inputs." ICASSP 2019-2019 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP). IEEE, 2019.
  5. Lu, Chang, et al. "ALResNet: Attention-Driven Lightweight Residual Network for Fast and Accurate Image Recognition." 2021 The 4th International Conference on Machine Learning and Machine Intelligence. 2021.



License

This project belongs to computer vision Team 6, Gachon Uni. (2022-1)

About

Hint based Image Colorization ConvNet Challenge 2022 in Computer Vision from Prof. YJ Jung in Gachon Univ

Topics

Resources

Stars

Watchers

Forks

Languages