Coder Social home page Coder Social logo

underwater-color-correction's Introduction

Underwater GAN (UGAN)

Color correction for underwater vision. This project uses CycleGAN to perform style transfer on "clean" underwater photos to appear to be underwater.

We used this video from Youtube as our distorted domain, and hand picked images from Imagenet for our "clean" domain. CycleGAN was used to distort clean images to provide us a dataset.

Results

result1

CycleGAN Comparison

result2

Other videos in consideration:

https://www.youtube.com/watch?v=OSdrb1XNXZI

https://www.youtube.com/watch?v=ALN6y2PLCq0

underwater-color-correction's People

Contributors

cameronfabbri avatar junaedsattar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

underwater-color-correction's Issues

Info.pkl for pre-trained model

I don't fully understand the purpose of the info.pkl file in the convert_video file. Is there any chance you can supply a sample one for the pre-trained model so I can look at it? Thanks for any help you can give.

issues about CycleGAN

i can't find that how long is it spent on CycleGAN training to generate distorted images in your paper.
Does GTX 1080 have the ability to train CycleGAN?cause i found CycleGAN has nine residule_blocks!
I am not sure about what CycleGAN input is? distortion images and clear images?Where do these distortion images come from?
I just started learning GAN, thank you very much for replying!

model problem

Dear owner,I just want to run the code and model,but I can not download the checkpoints and datasets from you project page.Maybe the reason is that my IP is bannd,could you send me your datasets and checkpoints to my mail box,[email protected] you very much.

dataset

Hi,

Could you please share the link to the dataset.

Thanks.

Should I set the is_training flag for the BN layer?

I encountered a different output of the same image during the test.
Looked at the nets/pix2pix.py file, it seems that the batch_norm function does not set the is_training flag. And when defining the optimizer, it does not add a dependency on UPDATE_OPS.
tf.contrib.layers.batch_norm
Is it because the network training can't learn a good mean and variance, so that the is_training state of the BN layer is forced to be True? But this results in different outputs when the batch size is different.

Looking forward to your reply! Thank you.

Artifacts in reconstructed images

After downloading your checkpoints (pretrained network) and generating images on different test images, the generated images include artifacts. Please check the attached images for more details. Could you please check your code or your checkpoints again? Thanks :)
00196_gen
00118_gen
00023_gen

how to use it for testing

hello @cameronfabbri , @junaedsattar ,
I tried to use model directly on a test image not sure if its possible.
I want to use it for some images but there are no instructions so not getting how to use it.
Thank you for the awesome work and Help :)

About the convert_video.py

The netG function is not found if I use the pix2pix network, how I can change it? If I use the resnet network, the netG function is netG(x), not netG(x, loss_method)!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.