victorca25 / innfer Goto Github PK
View Code? Open in Web Editor NEWSimple inference codes for Neural Network (AI) models
License: MIT License
Simple inference codes for Neural Network (AI) models
License: MIT License
I get the following error after the first chunk (GOP) is completed.
TypeError: unsupported format string passed to NoneType.format
input file is .mp4 and output is .mp4
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.
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.
I'm unable to get the scene detection to work. No matter what I do it defaults to the 250 GOP. Please advise
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.