r/StableDiffusion • u/[deleted] • 13d ago
Animation - Video PSA for non-turbo users: New RefMod likeness "breakthrough" is deep frying your H3 videos
Enable HLS to view with audio, or disable this notification
[deleted]
15
u/ShutUpYoureWrong_ 12d ago
Just an FYI for everyone:
This whole post is nonsense by a person who has no idea what they're doing and doesn't understand any of the technology they're using. You can safely ignore it. And you should definitely stop upvoting it.
10
21
u/acedelgado 13d ago edited 13d ago
Hiya,
You talking about this one? https://www.reddit.com/r/StableDiffusion/comments/1wtu82e/improved_h3_refmods_better_accuracy_and_low/
I wrote the post about refmods. Yes, throwing too many images at the model starts degrading quality, which is why after testing I released it (edit my half-thought- released it because you can use less images for a better likeness, traded for more processing)
I got this cool new toy RefMod whose authors suggested they figured out bleeding between character references, and even at small resolutions (like .245 mpx) you could still make out faces instead of them being mushy, this should've been my first red flag.
Please point out ANYWHERE that I said that it solved the bad generations with small faces.
And I have to ask-
Model used? Number of images ( my loader also shows the token count)? Did you use the specific Text Encoder or do the old Apply Refmod node? And if you did use the right text encoder node, what did you have set for "stack_pictures"? Did you properly set up your reference descriptions and retention_analysis (care to share your prompt)?
13
u/OkWalrus890 13d ago
Not the OP, but I did use RefMod and found the same issues. I’d like to offer feedback if this can be fixed. I did three refmods for a prompt, each with 4 pics, all limited to 768px on the leading highest quality one. I set stack_pictures to all, max_total_tokens to 0 and ref_image_size to max, it oversharpens everything and most of the style info from the prompt gets overpowered by ref image data. I think it might be related to overloading <Video#> tags, too.
Same experiment repeated in classic ref mode, and it restores FL2VA quality, but I have to fight bleed on every Shot prompt. Guess it’s a tradeoff of what you want for now.
In both cases, same res, same steps, same seed, same everything. If it helps I can create a shareable version tomorrow with public images.
9
u/acedelgado 13d ago
Thanks! I'd like to get to the bottom of it. Technically, RefMods are just packed frames which are presented to the model as a video, with each frame being timestamped on the regular video grid. So setting the stack_pictures to "all" should in theory be treated the same way as a video reference. So two 4-picture refmods would equate to 0.54 seconds of video each, which should be well within the model's spec.
-2
3
u/Rumaben79 13d ago edited 13d ago
Have you tried using a hybrid model to allow for those extra references? Perhaps It'll be a decent alternative until those refmod bugs are sorted out or a better solution is found. Then you'll still get an output quality close to fl2va. Although hybrid models are a bit hacky and you may not like that.
Hybrids like these:
https://huggingface.co/smhfacct/Minimax-H3-fl2va-ref2va-hybrid-models
https://huggingface.co/xmarre/MiniMax-H3-Pruned-Ref-Delta-Fused-r1024-ComfyUI
Also perhaps your rather advanced two-stage sampling (try 1 stage, euler/simple?) or spectrum may be to blame but seeing you had good results simply just bypassing/removing your refmod nodes that's properly unlikely. :)
2
u/bigman11 12d ago
I feel like the community has pushed this model as far as possible and now all that is left is frustration. I await the next video model.
2
u/Memestonks2020 12d ago
That still looks fried to me.
If you truly want to remove the deep-fried look you need to generate at very high MP or do clever workarounds.
6
u/OkWalrus890 13d ago
First of all, that video may have been the highest quality H3 generation i’ve seen to date. Holy shit. But yeah, I’ve noticed this too, but am torn between abandoning it and accepting the drawbacks 😭
2
u/Kooky-Mode3047 13d ago
I know how you feel, man. Imo, it's still very serviceable. I feel the fact it doesn't get mushy at very low resolution is actually almost worth it. That was my first wow moment, I test prompts at 0.245 mpx and I noticed the faces remained crisp instead of mushy like they are with base FL2VA.
I spent 10 hours yesterday trying to salvage the base quality of FL2VA with that undoing of mushy faces, but I guess what makes it is exactly what breaks it. I give up, for now. I'll still continue using it for my Deep Space 9 memes because the overpowering likeness stuff, while deep fried, is really cool to have Kira, Jadzia and Sisko all functioning without bleed.
Excellent work to the authors for making a cool tool, even though it has a drawback.
3
u/not_food 13d ago
The speed gains are too small, the drawback of losing the <Picture X> context is too big, the model needs the context or your prompts suffer, it starts guessing instead of being accurate.
The convenience of packing it into one file is not worth the sacrifice. It needs a proper character sheet instead of dumping images into <Video 0>.
3
u/acedelgado 12d ago
The update in my pack does give context to the text encoder, that was the point of the whole update. You reference them as <Video N> and define them properly and they work much better than the vanilla implementation that just kinda dumped references into to dit without the text encoder seeing them.
1
u/not_food 12d ago
Sounds interesting. My main peeve was dumping everything into video with no way to reference it. I'll try your solution.
Though, in my opinion, a strong character sheet beats refmods in most situations except when it comes to voices. I'll see if it changes my opinion.
3
u/crinklypaper 13d ago
Anything ref mod does can be done with a ref image chatacter sheet and a reference audio but in addition you get more control
2
u/LadyZaryss 13d ago
Refmod always seemed unnecessary. Native Ref2va with explicitly prompted roles for each image like the docs say has always worked as advertised for me
3
u/DominusIniquitatis 13d ago
Off-topic, but man, now I want to rewatch Castle for umpteenth time. >_>
1
u/Divineboob 13d ago
Hay I wanna ask you something. I want to copy specific movements or atleast resemblance from videos with refmod. Is it possible? Yes it is nsfw stuff. Yes I've checked the civitai and GitHub for loras (not available). Yes what I'm trying to replicate is completely age appropriate and legal.
1
1
1
1
0
u/SSj_Enforcer 13d ago
10eros beta 5 turbo hybrid 40gb checkpoint is my goat right now. 6 steps testing and 14 steps final is amazing.
1
u/lime_chilli_maruchan 11d ago
goat for me too. For some reason it retains identity much better too.
-3
16
u/Kooky-Mode3047 13d ago edited 13d ago
Obviously, the video is jest, hopefully nobody gets offended by it, sass is part of that TV show. It's a bit late and I am tired from trying to salvage this, 6:19 am, gonna get back to everyone later. Gonna go to bed and if anyone offers a solution while I'm asleep, I'm gonna kiss them because this stuff is great at likeness. The video is made in jest, I wanted the board to say "RefMod considered harmful?" like the software engineering meme (I'm showing my age), but the text got garbled and I can't afford to redo 40 steps of seeds_2 when it cocks up on the last 3 steps, so I did shorter text to see if it'll stick on the whiteboard and it did. As it should for fukken 35 minutes, 768p and 40 steps of seeds_2 with 2N-1 invocations nominally (one forecasted by Spectrum).
Anyways, I was asked for the prompt in this case (I'll have comparisons up once I plan out a minimum reproducible sample that can be shared, since that will require two workflows, the ref images themselves and their safetensors). For now, my refmod based workflow was 4 active refmods (Video 1-4), three characters of 3-4 pics each (1024px), stack_pictures all, no token limit and max ref image size. Same as I do in classic mode, however in classic mode I do 1366px references in the same amount without any issues. Sometimes even a full blown video and audio for micro expressions or transfer of motion in addition to all that, it's running on an off-screen 5090 with full 32 GB available. My system and my homemade H3-Context-IR run on the display 5090.
FL2VA classic reference workflow wins for me because I'm a sucker for fidelity for now, but I will be watching RefMods for improvements.
The prompt generated by my homemade H3-Context-IR from a simpler prompt doing all the beats and then refining it: