Giter Site home page Giter Site logo

Image2Image model about lama HOT 4 CLOSED

advimman avatar advimman commented on May 21, 2024
Image2Image model

from lama.

Comments (4)

windj007 avatar windj007 commented on May 21, 2024

Hi! Sorry for the late reply.

do you have any suggestions on how to modify the loss functions for better detail perservation?

The answer would depend very much on the task and the dataset. Given more details, I can probably recommend something.

from lama.

armheb avatar armheb commented on May 21, 2024

Thanks for your reply. Basically, I'm using the lama to get rid of some artifacts in my images. Below is an example image
batch0000107
.
from left to right is the input image, target, and lama output. as seen above I'm losing some of the details in the texture and images on the shirt. I was hoping to modify the loss functions to better preserve these features in the input image. Thanks.

from lama.

windj007 avatar windj007 commented on May 21, 2024

I see.. I think that this task is pretty different from what Lama was deisgned for - so you probably need to change not only losses, but also architecture and data generation process. There are plenty of possible options to try from stochasticity in generator to custom perceptual losses.

Also, it seems that FFC is a bit meaningless in that task - in inpainting it increases receptive field and helps to capture patterns - but in this example mostly local information is relevant.

from lama.

armheb avatar armheb commented on May 21, 2024

Thanks, Yes I have changed the data generation process and architecture. I'll also try custom perceptual losses too. Thank you.

from lama.

Related Issues (20)

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.