Skip to content

Converting night into day is one of the most interesting applications in generative models, due to the great difficulty in recreating the scene during the day, especially in cases of extreme darkness, and thus the difficulty lies in imagining the scene during the day when the lighting is very weak.

License

Notifications You must be signed in to change notification settings

kaledhoshme123/Multi-Scale-CycleGAN-Night-to-Day

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Multi-Scale CycleGAN Night to Day

  • Converting night into day is one of the most interesting applications in generative models, due to the great difficulty in recreating the scene during the day, especially in cases of extreme darkness, and thus the difficulty lies in imagining the scene during the day when the lighting is very weak.
  • The proposed system focuses on using a CycleGan architecture that helps in reconstructing the scene in the daytime.
  • The structure of the discriminator has been modified so that it can study the correctness of reshaping an object, only a part of which is visible due to extreme darkness and poor lighting. The discriminator was also designed to be able to recognize objects that are close to and far from the camera, so that it studies the correctness of the process of shaping the scene during the day.
  • Through the proposed methodology, the discriminator attempts to study the relationship of the pixel with its neighbors, and whether the pixel's current value with its neighbors is correct or not (using kernel = 5 at each output convolutional layer) which helps in evaluating whether the pixel is correctly positioned with respect to its neighbors or not.
  • Thus, in this way we try to overcome the problem of great difficulty in reconstructing the scene in extreme darkness.
  • During the process of converting night into day, as long as we are studying images that include images of the road, it is possible that some objects may sometimes be close to the camera and others far from the camera, and all we seek is for each object to be recreated in the images as if it were in the daytime. Therefore, the discerner must recognize the entire object, whether it is close to the camera or far from the camera.

Discriminator Architecture

download (19)

CycleGAN Architecture:

__results___15_0 (1)

Results:

Examples
__results___27_0
__results___28_0
__results___29_0

Note:

I have Trained CycleGan for 35000 Epochs (You can train for more Epochs and you will get more accurate results)

About

Converting night into day is one of the most interesting applications in generative models, due to the great difficulty in recreating the scene during the day, especially in cases of extreme darkness, and thus the difficulty lies in imagining the scene during the day when the lighting is very weak.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published