Code Monkey home page Code Monkey logo

innfer's People

Contributors

victorca25 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

innfer's Issues

How to do the equivalent in this repo?

Hello @victorca25, I'd like to replicate highres fix, but am unsure how it works exactly. I mainly use diffusers so I must use your repo to replicate highres fix.

If I wanted to use 4x-UltraSharp, upscale it by 1.5, with 25 highres steps and a denoising of 0.4. What should the code look like?

this is how the default code looks like:

import torch
from PIL import Image
import numpy as np
from run import load_model, run

device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')

model = load_model('upscaler/4x-UltraSharp.pth', device)

path_to_image = 'img11.png'
image = Image.open(path_to_image).convert('RGB')
 
sr_image =run(model,image)
pil_image = Image.fromarray(sr_image)
pil_image.save('u3.png')

I hope you see my issue soon and thanks in advance for your time.

Feedback on detect flag

Hey guys, here is a quick and dirty for using scene detect for better scene detection instead of static GOP. The first part is working (Detecting scenes and populating the scenes.ini) but it's a hack and I commented out some things for testing. Definitely
needs a lot more work but a rough starting point for discussion.

run.py.zip

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.