Comments (4)
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.
Thanks for your reply. Basically, I'm using the lama to get rid of some artifacts in my images. Below is an example image
.
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.
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.
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)
- question about the removal of the chromatic aberration in inpainting HOT 1
- Question about model size HOT 1
- Share app using lama
- Using JPG files instead of PNG for inpainting results in an error.
- training dataset example HOT 1
- lama-iOS
- training issue on multiple GPUs
- Suggestions requested for training a LAMA model on higher resolution data HOT 1
- More Time for less VRAM method
- pretrained model weight download link invalid HOT 1
- no module named "saicinpainting" HOT 1
- infer faster than big-lama HOT 1
- ckpt to pt model format HOT 2
- how to make my own dataset
- Prediction failed due to The size of tensor
- Hi, I have made a iOS App with your great model!
- Prediction failed due to Missing key visualizer
- Can I fine-tune the model? HOT 2
- why is tensorflow necessary?
- ImportError: cannot import name 'DualIAATransform' from 'albumentations' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lama.