SerialLain3170 / adeleine

Automatic line art colorization using various types of hint or without hint
Other
355 stars 47 forks source link

Questions about Adeleine's input #33

Closed zxiangwei closed 2 years ago

zxiangwei commented 2 years ago

Hi, I'm sorry, I would like to ask some questions about Adeleine's specific code. I'm not quite sure what the variables point and place mean in server.py. image

Also, I noticed that the input of the model is three parameters: line, mask, exist. Can the input of the model be just a picture? image

SerialLain3170 commented 2 years ago

Thank you for the issue.

The colorization model requires three inputs. The visualization for them is the figure below.

Screen Shot 2022-04-26 at 20 37 08

When it comes to the first question, point corresponds to the point hint and place corresponds to the point location. As for the second question, mask corresponds to the point hint and exist corresponds to the point location. So, these three inputs are images. I am sorry for confusing you.

zxiangwei commented 2 years ago

Thank you for your reply and sorry for my late reply. I still have some questions to ask you. One is that when I use auto color without point, I noticed that most of the pictures are a single color (like green), why is this? image

The second is that I use the cv.write() function to save the image output by the model, but I found that some colors (such as red, blue) are wrong (although the display on the web page is correct), why is this? line: image point: image place: image result: image

SerialLain3170 commented 2 years ago
zxiangwei commented 2 years ago

Sorry for the late reply, thank you very much for your reply, your patience and specific answer have helped me tremendously. Also, I would like to ask what network is used by the models in this project? Is it pix2pix or bicyclegan or something else, or which piece of references in the readme can I learn more about? Thanks again for your help!

SerialLain3170 commented 2 years ago

In Adeleine, I use atari_userhint_v2 as the point-based colorization model and reference_scft as the reference-based colorization model.

zxiangwei commented 2 years ago

Thank you very much for your help!