Comments (4)
So my thought is like:
- Add an integer configuration named
maxIteration
.
- Minimum value is 1.
- If it set to 1, then would be nothing changed.
- If it set to a more than 1 number, then there would be a new option
iteration
available.
- Add a new integer option named
iteration
- Minimum / default value is 1
- Maximum value is
maxIteration
- If it is set to a number more then 1, then go to 3.
- Check the type of backend we are using, then choose
- SD-WebUI: in the request body, set
n_iter
toiteration
in 2. - NovelAI: request
iteration
times, cache the response - NAIFU: same as NovelAI or set
n_samples
toiteration
in 2? (NEED HELP)
- Grab the responded images, then differ with
- Ignore the
output
configuration: Construct a forward message and then send it. - Respect the
output
configuration: Send messages individually
Feel free to write your thoughts in comments.
cc @MirrorCY
from novelai-bot.
BTW, if we are trying to make them different backend to be behaved not so far, we should also set the seed incrementally if we request it several times.
from novelai-bot.
我不太确认各个后端的批量绘制实现有何不同,考虑到有可能不是所有人的显存都支持同步绘制多张图,而且顺序绘制并不太影响性能,不如直接统一为多次请求,减少代码量的同时也便于后续可能兼容的其他绘图后端?
I'm not sure how the batch drawing implementation of each backend is different. Considering that not everyone's video memory supports simultaneous drawing of multiple graphics, and sequential drawing does not affect the performance, it is better to unify it into multiple requests directly to reduce the amount of code and facilitate subsequent compatibility of other drawing backends.
from novelai-bot.
我们已于 1.15.0 版本中实验性地实装了一次生成多张图片的功能。
目前可通过 --iterations
选项指定生成的轮数。配置项方面可以通过 maxIteration
设置最大的轮数。
from novelai-bot.
Related Issues (20)
- Feature: add some new features released in Webui1.6:
- Feature: 支持下载 file 协议的图片
- Feature: 兼容nai-diffusion-3
- Bug: 以图画图不可用 HOT 9
- Feature: 增加NAI采样器的可选项以及采样器SMEA/SMEA DYN选项
- Feature: 传递给机器人的lora指令不生效
- Bug: novelai队列429错误 HOT 2
- Feature: 在参数一致的情况下,机器人生成的图片质量远远低于web端生成的图片。 HOT 2
- Bug: tag中的lora无法正常使用 HOT 11
- Bug: "[object Object]" is not valid JSON
- Bug: lora无法正常使用 HOT 4
- Bug: 自动重试时 negative_prompt 丢失 HOT 2
- Bug: 默认分辨率配置项消失 HOT 3
- Bug: 关闭"允许使用点数"后,用-r指令超过某些宽高后依然会消耗点数(Anlas)
- 是否支持喵喵云崽插件 HOT 1
- Feature: Support Koishi 4.17.0 HOT 1
- Bug: novelai无法使用,不知道什么情况 HOT 10
- Feature: 支持使用novelai官方的apikey HOT 5
- Bug: 秋叶包 sd-webui 环境下绘图不定时出现 404 错误 HOT 4
- 疑问
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 novelai-bot.