Code Monkey home page Code Monkey logo

bppnet-back-projected-pyramid-network's People

Contributors

ayu-22 avatar lusiferajay 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

Watchers

 avatar  avatar  avatar

bppnet-back-projected-pyramid-network's Issues

function not complete

NameError                                 Traceback (most recent call last)
<ipython-input-26-a24d9fb97dd3> in <module>
      4 input_dis_channel = 3
      5 max_epochs = 100
----> 6 DUNet = DU_Net(input_unet_channel ,output_unet_channel ,input_dis_channel).cuda()

<ipython-input-23-e5148fdf2410> in __init__(self, unet_input, unet_output, discriminator_input)
     27         self.add_module('l1_loss', l1_loss)
     28         self.add_module('content_loss', content_loss)
---> 29         self.add_module('style_loss', style_loss)
     30         self.add_module('ssim_loss', ssim)
     31         self.add_module('bce_loss', bce)

NameError: name 'style_loss' is not defined

As the error message said, style_loss is not defined in the code

Unexpected Inference Results

I am using the weights that were emailed to me.
This is the kind of output that I am getting.
Before:
before
After:
after

I can't seem to figure out what is wrong. Any idea what might be wrong?

The problem with the return value of the process function

In function process, the second return value should logically be DIS_LOSS, but in your code it is the SSIM value. The function calculated DIS_LOSS but did not use it. What is the purpose of this?I tried to change the second return value to DIS_LOSS, but there is a problem that DIS_LOSS will not converge.

About environment requirement

Sorry but i can't get your pytorch version.
Meanwhile, some other packages in the requirements.txt don't seem necessary.
New to this, plz ignore me if I'm asking silly.

About IH-HAZE Dataset。

I would like to ask, the official I-HAZE dataset states that there are 35 pairs of images, but after downloading from the official website, there are only 30 pairs. May I ask where did you obtain the complete I-HAZE dataset of 35 pairs of images?
image

If possible, could you please send me the complete I-HAZE dataset via email? I would greatly appreciate it? My email is [email protected]

about validation and test images

I tried to train with Ohaze dataset, with batch len=210 (default setting), 35 images for training, 5 for test, i have 2 problems that need some help, first, which images are your test ones ?except 2 images shown on the gif i selected , which 3 left are your testing choices? second, except 5 for test 35 for training, there are still 5 left for validation, but i cant find any validation codes in file, should i put these 5 images in training? for i cant get that high psnr and ssim as paper declaimed, specifically, psnr 19.1+- with ssim 0.75+, thank you

one of the variables needed for gradient computation has been modified by an inplace operation

Hi, when I use dataset O-Haze and I-Haze to run "train(epochs)", the following error message appears:

RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation: [torch.cuda.FloatTensor [1, 512, 4, 4]], which is output 4 of BroadcastBackward, is at version 2; expected version 1 instead. Hint: enable anomaly detection to find the operation that failed to compute its gradient, with torch.autograd.set_detect_anomaly(True).

What is the cause? Thx

Running into a gradient computation runtime error

RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation: [torch.cuda.FloatTensor [1, 512, 4, 4]] is at version 2; expected version 1 instead. Hint: the backtrace further above shows the operation that failed to compute its gradient. The variable in question was changed in there or anywhere later. Good luck!

Running into this error, while training

about train loss

1.I want to ask which loss of MSE, SSIM, Unet loss is the standard? And what conditions are stable?
Whenever the picture is improved, the learning rate will decrease,
but the picture-like viewing will get worse.
2.This is my picture result. How can I improve it? Thank you.
img1
img2

Model weights

Hi is it possible to obtain the pre-trained weights?

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.