本文主要是把平时使用的模型及其参数进行推荐和整理,相关
- 运用时的问题解决参考:《Windows使用Stable Diffusion时遇到的各种问题整理》;
- 安装时的问题解决参考:《Windows安装Stable Diffusion WebUI及问题解决记录》。
| 表示或者+ 表示 以上


模型的VAE不要用模型附带的,好像就是naifu的官方vae,很老了,用
vae-ft-mse-840000-ema-pruned.ckpt或者是kl-f8-anime2.ckpt;
嵌入模型要下载作者推荐的负面关键词汇总的 EasyNegative,下载后放到embeddings文件夹内,tagEasyNegative才会起效。
参数:
Counterfeit-V2.5.safetensors [bd83b90a2e]vae-ft-mse-840000-ema-pruned.ckpt220+DPM++ 2M Karras | DPM++ SDE Karras(masterpiece, best quality, very detailed, Ultra HD: 1.2) | (((masterpiece))), (((best quality))), (((extremely detailed))), Depth of field, illustration, shiny, pastel color,案例:
(masterpiece, best quality, very detailed, Ultra HD: 1.2)
Negative prompt: EasyNegative, nsfw, lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, bad feet,
Seed: 31337, Steps: 32, Sampler: DPM++ SDE Karras, CFG scale: 7
下载:
Checkpoint:https://huggingface.co/gsdf/Counterfeit-V2.5
VAE:https://huggingface.co/Yukihime256/840000/tree/main
EasyNegative:https://civitai.com/models/7808/easynegative
来源:
强烈推荐的超细节风格化模型和参数

水彩国画风
参数:
dalcefo_painting220+DPM++ 2M Karras | DPM++ SDE Karras<(masterpiece, realistic:1.3), (extremely intricate:1.2)>,案例:
<(masterpiece, realistic:1.3), (extremely intricate:1.2)>, portrait of a girl, face, close up, pointy ears, dress, half-closed eyes, jewelry, sitting, strapless, strapless dress, breasts, watermark, bare shoulders, tiara, grey dress, cleavage, long hair, braid, grey hair, long eyelashes, solo, profile, solo, elf,
Negative prompt: (worst quality, low quality:1.4), (depth of field, blurry:1.2), (greyscale, monochrome:1.1), 3D face, cropped, lowres, text, jpeg artifacts, signature, watermark, username, blurry, artist name, trademark, watermark, title, multiple view, Reference sheet, curvy, plump, fat, muscular female, strabismus,
Size: 520x680, Seed: 285145899, Model: dalcefo_v3_painting3, Steps: 26, Sampler: DPM++ 2M Karras, CFG mode: Linear Up, CFG scale: 15, Clip skip: 2, Mimic mode: Linear Up, Model hash: 7107c05c1c, Mimic scale: 15, Hires upscale: 1.5, Hires upscaler: Latent (nearest-exact), CFG scale minimum: 0, Denoising strength: 0.5, Mimic scale minimum: 0, Threshold percentile: 100, Dynamic thresholding enabled: True


这个模型融合了多个模型(比如2.2版本融合了f222_v1.ckpt、elldrethSLucidMix_V10.cpkt、hassanBlendAllVersio_hassanBlend14.ckpt、seek_art_mega_v1.ckpt (license)、modelshoot-1.0.ckpt),并且2.2版是在stable diffusion1.5的基础上训练出来的,可以使用明星脸,而2.0以后的版本对明星脸进行了限制。
可以用关键字设置相机角度和人物动作
参数:
Protogen x5.8 Rebuilt (Scifi+Anime) Official Release | Protogen x5.3 (Photorealism) Official Release | Protogen x3.4 (Photorealism) Official Release | Protogen v2.2 (Anime) Official Release220+DPM++ 2M Karras | DPM++ SDE Karras(from_above:1.3) | (from_below:1.3) | (from_side:1.3) | (from_behind:1.3) | (hand_on_hip:1.2) | (sitting:1.2)MODELSHOOT STYLE | NOUSR ROBOT案例:
(sitting:1.2),modelshoot style, (extremely detailed 8k wallpaper),a medium shot photo of a sexy female soldier, American ERDL Lowland CAMO, Intricate, High Detail, dramatic, elite military forces real world, fantastic location, battle environment, rugged harsh situation soldier, action shot, skin pores, very dark lighting, heavy shadows, detailed, detailed face, (vibrant, photo realistic, realistic, dramatic, dark, sharp focus, 8k), (weathered greasy dirty damaged old worn military soldier outfit:1.3),
Negative prompt: Asian, black and white, close up, cartoon, 3d, denim, (disfigured), (deformed), (poorly drawn), (extra limbs), blurry, boring, sketch, lackluster, signature, letters, watermark, low res , horrific , mutated , artifacts , bad art , gross , b&w , poor quality , low quality , cropped
Seed: 452943117, Steps: 30, Sampler: DPM++ SDE Karras, CFG scale: 7


可根据职业(巫师、战士等)、衣物(皮甲、布甲等)进行规划
参数:
rpg_V4230+DPM++ 2M Karras | DPM++ SDE Karras案例:
full body shot photo of the most beautiful artwork in the world featuring a modern female (rogue thief:1.1) wearing multiple layer (leather armor:1.1), sexy, big eyes, urban tokyo futuristic look, neon lights, night, slow motion, reflections, orange raincoat, intricate detail, nostalgia, high boots, heart professional majestic oil painting by Ed Binkley, Atey Ghailan, Studio Ghibli, by Jeremy Mann, Gregory Manchess, Antonio Moro, trending on ArtStation, trending on CGSociety, Intricate, High Detail, Sharp focus, dramatic, photorealistic painting art by midjourney and greg rutkowski,
Negative prompt: cartoon, 3d, ((disfigured)), ((bad art)), ((deformed)),((extra limbs)),((extra barrel)),((close up)),((b&w)), weird colors, blurry,(((duplicate))), ((morbid)), ((mutilated)), [out of frame], extra fingers, mutated hands, ((poorly drawn hands)), ((poorly drawn face)), (((mutation))), (((deformed))), ((ugly)), blurry, ((bad anatomy)), (((bad proportions))), ((extra limbs)), cloned face,(((disfigured))), out of frame, ugly, extra limbs, (bad anatomy),gross proportions, (malformed limbs), ((missing arms)), ((missing legs)), (((extra arms))), (((extra legs))), mutated hands, (fused fingers), (too many fingers), (((long neck))), (((tripod))), (((tube))), Photoshop, video game, ugly, tiling, poorly drawn hands, poorly drawn feet, poorly drawn face, out of frame, mutation, mutated, extra limbs, extra legs, extra arms, disfigured, deformed, cross-eye, body out of frame, blurry, bad art, bad anatomy, 3d render, (((umbrella))
下载及学习
https://huggingface.co/Anashel/rpg
https://huggingface.co/Anashel/rpg/resolve/main/RPG-V4-Model-Download/RPG-Guide-v4.pdf
我有一个模型:classItem项目有一个属性“商店”基于存储的值,我希望Item对象对特定方法具有不同的行为。Rails中是否有针对此的通用设计模式?如果方法中没有大的if-else语句,这是如何干净利落地完成的? 最佳答案 通常通过Single-TableInheritance. 关于ruby-on-rails-Rails-子类化模型的设计模式是什么?,我们在StackOverflow上找到一个类似的问题: https://stackoverflow.co
对于具有离线功能的智能手机应用程序,我正在为Xml文件创建单向文本同步。我希望我的服务器将增量/差异(例如GNU差异补丁)发送到目标设备。这是计划:Time=0Server:hasversion_1ofXmlfile(~800kiB)Client:hasversion_1ofXmlfile(~800kiB)Time=1Server:hasversion_1andversion_2ofXmlfile(each~800kiB)computesdeltaoftheseversions(=patch)(~10kiB)sendspatchtoClient(~10kiBtransferred)Cl
我需要从一个View访问多个模型。以前,我的links_controller仅用于提供以不同方式排序的链接资源。现在我想包括一个部分(我假设)显示按分数排序的顶级用户(@users=User.all.sort_by(&:score))我知道我可以将此代码插入每个链接操作并从View访问它,但这似乎不是“ruby方式”,我将需要在不久的将来访问更多模型。这可能会变得很脏,是否有针对这种情况的任何技术?注意事项:我认为我的应用程序正朝着单一格式和动态页面内容的方向发展,本质上是一个典型的网络应用程序。我知道before_filter但考虑到我希望应用程序进入的方向,这似乎很麻烦。最终从任何
我正在编写一个包含C扩展的gem。通常当我写一个gem时,我会遵循TDD的过程,我会写一个失败的规范,然后处理代码直到它通过,等等......在“ext/mygem/mygem.c”中我的C扩展和在gemspec的“扩展”中配置的有效extconf.rb,如何运行我的规范并仍然加载我的C扩展?当我更改C代码时,我需要采取哪些步骤来重新编译代码?这可能是个愚蠢的问题,但是从我的gem的开发源代码树中输入“bundleinstall”不会构建任何native扩展。当我手动运行rubyext/mygem/extconf.rb时,我确实得到了一个Makefile(在整个项目的根目录中),然后当
exe应该在我打开页面时运行。异步进程需要运行。有什么方法可以在ruby中使用两个参数异步运行exe吗?我已经尝试过ruby命令-system()、exec()但它正在等待过程完成。我需要用参数启动exe,无需等待进程完成是否有任何rubygems会支持我的问题? 最佳答案 您可以使用Process.spawn和Process.wait2:pid=Process.spawn'your.exe','--option'#Later...pid,status=Process.wait2pid您的程序将作为解释器的子进程执行。除
我构建了两个需要相互通信和发送文件的Rails应用程序。例如,一个Rails应用程序会发送请求以查看其他应用程序数据库中的表。然后另一个应用程序将呈现该表的json并将其发回。我还希望一个应用程序将存储在其公共(public)目录中的文本文件发送到另一个应用程序的公共(public)目录。我从来没有做过这样的事情,所以我什至不知道从哪里开始。任何帮助,将不胜感激。谢谢! 最佳答案 无论Rails是什么,几乎所有Web应用程序都有您的要求,大多数现代Web应用程序都需要相互通信。但是有一个小小的理解需要你坚持下去,网站不应直接访问彼此
我有一个包含模块的模型。我想在模块中覆盖模型的访问器方法。例如:classBlah这显然行不通。有什么想法可以实现吗? 最佳答案 您的代码看起来是正确的。我们正在毫无困难地使用这个确切的模式。如果我没记错的话,Rails使用#method_missing作为属性setter,因此您的模块将优先,阻止ActiveRecord的setter。如果您正在使用ActiveSupport::Concern(参见thisblogpost),那么您的实例方法需要进入一个特殊的模块:classBlah
我尝试运行2.x应用程序。我使用rvm并为此应用程序设置其他版本的ruby:$rvmuseree-1.8.7-head我尝试运行服务器,然后出现很多错误:$script/serverNOTE:Gem.source_indexisdeprecated,useSpecification.Itwillberemovedonorafter2011-11-01.Gem.source_indexcalledfrom/Users/serg/rails_projects_terminal/work_proj/spohelp/config/../vendor/rails/railties/lib/r
我有一些Ruby代码,如下所示:Something.createdo|x|x.foo=barend我想编写一个测试,它使用double代替block参数x,这样我就可以调用:x_double.should_receive(:foo).with("whatever").这可能吗? 最佳答案 specify'something'dox=doublex.should_receive(:foo=).with("whatever")Something.should_receive(:create).and_yield(x)#callthere
刚入门rails,开始慢慢理解。有人可以解释或给我一些关于在application_controller中编码的好处或时间和原因的想法吗?有哪些用例。您如何为Rails应用程序使用应用程序Controller?我不想在那里放太多代码,因为据我了解,每个请求都会调用此Controller。这是真的? 最佳答案 ApplicationController实际上是您应用程序中的每个其他Controller都将从中继承的类(尽管这不是强制性的)。我同意不要用太多代码弄乱它并保持干净整洁的态度,尽管在某些情况下ApplicationContr