lllyasviel / lllyasviel/ControlNet

Training a ControlNet to generate furnished room -> empty room (and vice versa). Improvement plateau...

Open
#659 5 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
34.1k
Forks
3k
PR merge metrics
No merged PRs in 30d

Description

I'm working on a project to take images of furnished rooms and remove all the furniture. I've got a large dataset of image pairs. I'm not using any preprocessing on the images so as to allow the model to preserve details of the original image (wall color, floor material, etc.).

After training on a 4090 for about 5 days, and I'm no longer seeing any improvement (see examples below).

I'm looking to get tips about where to go from here.

- Does it just need to be trained longer?
- Do I need to adjust the learning rate?
- Should I spend more time cleaning the dataset (a small % of the dataset is probably bad, as you can see in one of the examples below, the target image is dark).
- Should I preprocess the image to simplify this? (i.e MLSD) It would lose the details of the original, but maybe at least will provide better output for final image.
- Perhaps ControlNet isn't the right arch for this and instead use pix2pix?

Thanks for the help!

## Example 1

Source:
Screenshot 2024-03-15 at 10 18 12 AM

Target:
Screenshot 2024-03-15 at 10 21 32 AM

Model Result:
Screenshot 2024-03-15 at 10 17 59 AM

## Example 2

Source:
Screenshot 2024-03-15 at 10 20 30 AM

Target:
Screenshot 2024-03-15 at 10 21 54 AM

Model Result:
Screenshot 2024-03-15 at 10 20 41 AM

## First Training Run
Screenshot 2024-03-15 at 10 29 44 AM

## Second Training Run
Screenshot 2024-03-15 at 10 30 41 AM

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no repository files or tests; start by reviewing the paired image dataset, the first and second training runs, and the listed ControlNet-versus-pix2pix questions. A useful outcome would be a supported direction for addressing the plateau, including whether to change training, clean or preprocess data, or use another architecture.

Written by the indexing model from the issue text.

Assessment

Tech stack
machine-learning, python
Domain
machine-learning
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.