Mask_args for Outpaintinig

Open
#134 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Documentation
Clarity
Needs clarification
Activity status
Stale
Tech stack
python

Research direction

Start with the inference/Gradio script mentioned in the issue and trace where mask_args controls outpainting. Compare the current mask settings with the transition behavior described, then establish and document what settings or workflow produce a smoother result; no source file or test is named in the issue.

Written by the indexing model from the issue text.

Description

I'd like to create my own inference/gradio script specifically for Outpainting tasks, but finding it a bit tough to determine the 'optimal' mask settings for this. Here is what I have landed on so far:

mask_args = {
    "cropfrom": 0,  
    "pastefrom": 0,  
    "pasteto": 100,  
    "maskstart": 10,  
    "maskend": 100,   
    "softnessL": 30,   
    "softnessR": 0,  
    "marination": 0.2 
}

However I'm finding the transition from original -> model generation to be quite jarring. Any guidance on how to improve the outpainting experience would be greatly appreciated!

Dominant language
Python
Stars
3.9k
Forks
490
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from Stability-AI/stable-audio-tools

All issues in Stability-AI/stable-audio-tools

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.