#PBRFusion 2 (Legacy)

2919 messages ยท Page 3 of 3 (latest)

burnt oyster
#

Ima run some tests

pale field
#

He's gone too far I'm afraid ๐Ÿ˜Ÿ

olive cedar
#

drivers don't even support it

burnt oyster
#

๐Ÿคทโ€โ™‚๏ธ

#

Anybody else can try

#

theres the 16k model

primal olive
#

I'm gonna be honest that upscale looks like absolute dick ass

#

Definitely was not worth it lol

burnt oyster
# olive cedar drivers don't even support it

They don't have support for a perfectly made one, this one has been through ai like 9 times so a lot of the pixels are being created through other methods, it's very low quality, it wouldn't display at 64k, but it would be if you had a 64k monitor

primal olive
#

No that's not true

burnt oyster
#

and its upscailing one for remix is ass

primal olive
#

It doesn't matter how the pixels are created, pixels are pixels

primal olive
#

Also a 64K monitor physically isn't possible on existing hardware

burnt oyster
#

i mean

#

I feel like the coulda made it on the los angels sphere or smth

primal olive
#

You'd need more display output cables than any single card can support, and if you got multiple cards they'd each have to drive a different chunk of the screen. I think Windows would instantly crash trying to force that kind of resolution

primal olive
burnt oyster
#

if you go up close to it the pixles are like 3 feet apart

primal olive
#

Yeah bc the thing is massive lol

burnt oyster
#

so if they upgraded it a bit and brought them as close together as a monitor it'd be 64k

#

It might explain why my hardware stalled at 16k and then crashed when I attempted to bring it to 64k

#

cause there was no driver

#

it was almost done when it crashed

primal olive
#

That's... Not really how it works lol

#

Also opening a 16K image would be significantly easier than driving a 16K display to my knowledge

#

Not that it's very easy to begin with

burnt oyster
#

cdm told me it was 16k

primal olive
#

What's a cdm

burnt oyster
#

mb cmd

mental geyser
#

Oh yeh I forgot lol

#

It resizes back to 2k if it's above lmao

#

So the 16k is gone

#

Oof

burnt oyster
#

๐Ÿ˜

#

all that for what

#

don't explain how a 2k image crashed the whole PC

pale field
#

That looks like a memory issue

#

Maybe memory leak?

burnt oyster
#

maybe

olive cedar
mental geyser
burnt oyster
burnt oyster
#

Itโ€™s a lot faster to generate in 2k over 16k

olive cedar
#

obviously, there is no point in generating such huge textures

primal olive
#

Imagine having a single texture that's 4x the res of your non existent 8k display

burnt oyster
olive cedar
#

I do not understand what you're trying to say.

primal olive
#

He was emotionally invested

neon tulip
#

Would higher numbers on the guidance scale mean the upscaler would "imagine" more with the textures?

mental geyser
#

yes

neon tulip
#

Sweet, gunna experiment with a batch today BLANKIES

primal olive
#

Batch is far too slow for me to experiment PeepoSadSwing

mental geyser
#

40s per image upscale and pbr is too slow?

neon tulip
#

Did you adjust the latent_tiled_size to around 512 Auto?

primal olive
mental geyser
#

Isn't that what you're getting ish skurtty?

primal olive
#

That's roughly what I get with 256x256 inputs

neon tulip
#

Yeah, about 48-54 seconds for me, they're COOKING out, all 512x512ish size

mental geyser
#

That's with higher guidance too so it's slower then guidance scale 1

#

Hmmm what is wrong with autos

#

Maybe we go back to default node.py and use latent tile size 512?

neon tulip
#

Yeah, 48 I think was my average with guidence scale 1. I have it set to 12 right now, that might explain the few extra seconds. Did u select 40 series on Depth Anything Tensorrt? monkaHmm

mental geyser
#

Wait skurtty if you choose 30 series does it work?

neon tulip
#

I'd test now, but I have a batch running ๐Ÿ™‚

mental geyser
#

U good

#

He said it got stuck

#

But I wonder if 4090 brute forces through it lmao

primal olive
#

Yeah about that

neon tulip
#

LMAOOOOOOO

mental geyser
#

No

#

Way

#

@rustic talon

#

This is crazy

#

The 4090 will run a 30 series compiled tensorrt engine file

#

Just slowly

#

Wait so how slow was that step auto?

rustic talon
#

that's very weird

#

like this makes 0 sense to me lol

#

i'm gonna ask that TRT dude what's going on

neon tulip
mental geyser
#

I wonder if this is a thing where yeh it works for all of 30 series but it'd be faster if you compile for your card

neon tulip
#

It has a great imagination, 12 guidence looks SICK BLANKIES

#

Can't wait to see it with all the PBR on it

mental geyser
#

whatheck I see the name

neon tulip
mental geyser
#

hmm actually p suprising

primal olive
neon tulip
#

I wonder what 24 looks like peepoM

primal olive
#

ok ive slimmed my batch down to below 150

#

let's see

#

okay I know for a fact I'm getting fucked here

#

there is not a single 4096x texture in that batch

#

@mental geyser

#

care to explain

mental geyser
#

It says prompt executed in 33s

primal olive
#

it's frozen

#

it's like it's upscaling the upscale or something

#

manually cancelling doesn't work

#

I think it had issues with this texture last time too, gonna remove it

mental geyser
#

Cancel will not work during the seesr step

#

Yeh it seems to think that's a large texture

primal olive
#

now the browser interface isn't opening lol

#

it goes to this and says press any key to continue

#

think I got it nvm

#

idek

mental geyser
#

That's saying another cmds already open running comfy lol

primal olive
#

yeah it was on another desktop for some reason

#

make this nightmare end

mental geyser
#

๐Ÿ‘€

primal olive
#

and now my GPU driver crashed

#

I think this is a sign to stop

mental geyser
#

bro has endless problems

#

sounding like me out here

pale field
#

Y'all GPUs are tired of all this AI tomfoolery

#

Fr

neon tulip
#

How can you tell when your gpu driver crashes? hmm

pale field
#

Bsoda

rustic talon
#

under System

neon tulip
#

Ahhh event viewer, I I forgot about that. The PTSD from my old 14900k crashing and having to send those logs in Wokege

pale field
#

Holy moly, are all 14900k just toast?

rustic talon
#

a lot of them are

#

along with 14700k, 13900k, 13700k

pale field
#

Oh damn!

neon tulip
#

Yeah pretty much, every CPU prior to around 8/8 when the new bios came out were getting zapped with some kinda vcore limit over 1.55v

rustic talon
rustic talon
pale field
#

So AM5 it is. huh

#

No better option left

rustic talon
#

pretty much, unless you want a 12th gen intel CPU

#

(which hold up fairly well)

pale field
#

Nah no. My GPU is crying to be used at all

neon tulip
#

Yeah, it made me never want to get Intel again aboutoocry My new cpu's only ever seen the new bios and so far so good

pale field
#

Intel CPUs were okay, the jump from 10-11th to 12th was substantial

#

Performance was good

primal olive
neon tulip
#

I can't remember, was there a setting that set a max size limit? Or some kind of setting that prevented it from doing crazy large math? Most my textures are 512x512 - but there are some 1024x1024 size textures, I think it's hiccupping on these textures. They're upscaling, but with the 2k output, it's like it's trying to do math all for nothing and ends up slowing the queue lol

#

Or could a 64x64 texture also make it hiccup for being so small? monkaHmm

gritty dew
gritty dew
gritty dew
neon tulip
#

Yeah, most times I just point the input folder to the textures in the captures folder - not looking for miracles with that tiny of a size, it's just what's in there ๐Ÿ™‚

mental geyser
#

i could add in a check for if <256 skip it, and also do a 2x for 1024x

#

or just a option to set your own ignore scale

neon tulip
#

What's 256? hmm

#

2x for 1024x meaning like double the speed? Applecatrun

mental geyser
#

haha

2x upscale for 1024x1024 texture to 2k (by proxy it may be faster lol)

and if an image is below 256x256 then skip it

neon tulip
#

Ahhhh, yes yes please peepoBlushReallyHappyDank

gritty dew
#

yeah that'd help a lot with barnyard

rustic talon
#

that'd skip probably 1/3 of Barnyard lol

gritty dew
#

Yeah, it is unfortunate but atleast all the main ones are 256x256

mental geyser
#

results wouldn't be usable anyways

gritty dew
#

They really aren't

mental geyser
#

shrug ill make it box threshold you set

gritty dew
#

Here is an example of how bad they get

rustic talon
#

my DAT2 model can usually salvage 128x128 textures

#

64x64 is a lost cause though

#

especially with SPAN

#

or is that also using SeeSR

gritty dew
#

SeeSR is used

neon tulip
#

Wait I'm confused - this texture took a long time to process, but it was the same size as the face comparison texture that I did earlier. It's doing another 1024x1024 now, and it's taking a few minutes to process, but not hours - I wonder what happened monkaHmm

gritty dew
#

hours?

neon tulip
#

Maybe it was the 12 guidance scale?

#

Or maybe 512 latent_tiled_size was too much for a 1024x1024 monkaHmm

#

I'll have to experiment more when it's all done peepoSitGamer

burnt oyster
#

๐Ÿ”ฅ

jade lake
#

Can't imagine how uncomfortable that suit is

primal olive
#

Damn that ain't half had

rustic talon
burnt oyster
mental geyser
#

half life had bad

#

no 3

#

ok starting a finetune for sd2 hopefully seesr sees an improvement with it

burnt oyster
mental geyser
#

ThisIsFine Small Update 2.0.1 ThisIsFine

  • Added option to choose threshold of resolution of images to skip (For example if set to 256, it will skip images of < 256x256 resolution not <= so will still process 256x256 images)

  • Added logic for if image is base >= 1024x1024 SeeSR node will only do a 2x upscale

Note:

If skip threshold is activated you will get an error message, but batch will still keep running fine. Otherwise i would have to return the original image (you can just close error box)

Example Error:

#

just extract to root folder (run_nvidia_gpu.bat folder) and hit yes to replace

#

you should see new option on seesr node called skip_smaller_than

neon tulip
#

YIPPEEEEEE! Nice job NightRaven pepespin

#

I just tried the ComfyUI PBRFusion Remix integration click and go thing - it's so easy peepoBlushReallyHappyDank

mental geyser
#

jesus, to train on flux they recommendpeepoMadrage 80GB vram

mental geyser
#

sd2 finetune is giving better creativity and adherence at same steps and guidance scale as normal

#

yes much more stable

#

im gonna let it train more an see what happens

gritty dew
#

or a couple quadros

mental geyser
#

A80 is probs the one

primal olive
#

Imgsli is so good but on mobile it's an absolute trash heap

neon tulip
#

I KNEW I FORGOT SOMETHING, I was going to test running the 30 series engine on my 40. It looks like the diffuse went through, but it wouldn't generate the PBR

mental geyser
#

Well yes upscaler doesn't use it

#

But why does it work on others lol

neon tulip
#

Very interesting hmm

#

They gotta show the receipts or they're lying KEKW

mental geyser
#

@neon tulip I had a thought, your problem with the batch apply to remix script problem, I haven't had time to check but its possible syntax in the mod.usda files changed

#

I can look at it tn

neon tulip
#

MY HEROOOO!! I would very much appreciate that, it's been a mystery to me FeelsWeakMan

burnt oyster
#

๐Ÿ”ฅ

mental geyser
neon tulip
burnt oyster
#

something tryan tell me something

#

this ain't the first time i got that

burnt oyster
mental geyser
#

u got me

#

im in kahoots with the devil

burnt oyster
#

wild

burnt oyster
#

The result of the 666 texture

burnt oyster
#

It donโ€™t cut off on one side

#

Itโ€™s just the original is on the left and the new is on the right

#

If you thought I was talking about an issue

mental geyser
#

nah i got it, thanks for calrification tho ๐Ÿ™‚

burnt oyster
#

๐Ÿ‘๐Ÿผ

burnt oyster
#

omg i just realized I didn't get a screen shot of the error

#

but i keep getting this half way through

#

heres the error

#

It happens right around when it goes to color matching

mental geyser
#

That should only appear when it starts pbr generation

#

If you have a 40 series GPU you have to change red box to 40series file

burnt oyster
#

Yeah I swear I had it on 40 series idk what happened

mental geyser
#

All good could of defaulted to original workflow ๐Ÿ™‚

burnt oyster
#

I did actually

#

and that didn't fix it

#

for some reason I had to change it myself

#

which was odd

mental geyser
#

I'm saying the original file is set to 30series

#

So it defaulted back to wrong one for you

burnt oyster
#

oh okay

#

I understand

mental geyser
silent socket
#

god damn

mental geyser
#

u can disable cuda malloc in run_nvidia_gpu.bat if its giving problems

#

with

#

--disable-cuda-malloc

neon tulip
#

Is there a way to set the guidance scale when using the PBRFusionRTXRemix.json with Remix? Sacknana

mental geyser
#

The same seesr node is in the workflow, travel ๐Ÿ‘‡

neon tulip
#

Ahhhh silly me, I was looking side to side pephehe

#

Thank you! peepoBlushReallyHappyDank

mental geyser
#

It is quite a large workflow lol all good

burnt oyster
#

question

#

I can't find this texture anywhereeven in the file path, If I screenshot what its showing me on the left would that work right as the texture?

neon tulip
#

Hmm. It's odd because it'll do 25-35 textures at it's normal speed for me, and then there's a texture that stops the line and takes 45-1hr to process monkaHmm The largest texture in the batch is 1024x1024, I wonder if it somehow thinks a 4096x4096 texture was loaded AAA

neon tulip
mental geyser
#

If you scroll down a tiny bit

#

In the gir for looper node

#

It should be outputting an index number

#

What is that number at rn

#

O wait you pan over it

#

Ok it's at 454

neon tulip
#

This one? Looking

mental geyser
#

Luckily you caught it on the video

What is the 454th texture (sorted by name) in the folder

#

Wait it's index 0

#

So the 455th texture

neon tulip
#

Looks like it's 222902302EA244A5.dds YesYes

mental geyser
#

Can you send it here and what is the res?

#

And that's with file explorer sorted by name right?

neon tulip
#

I organized it like this lol

mental geyser
#

Thanks I'll look into it

#

Yeh it should never show processing at 4096

#

Shouldn't even be possible with way it's coded

#

Highest that should say is 2048

neon tulip
#

Yeah 2048 sounds right peepoBlushReallyHappyDank Veryyy interesting, I wonder where it's getting that number from. Lemme know if you need anything from me, I'll see if I can investigate while I learn about comfyui salute

mental geyser
#

It's not still stuck on that one right?

#

atm?

neon tulip
#

Nah it processed, but now it's stuck on another one pephehe It was able to process 1 other one at normal speed though in between

mental geyser
#

Ok can you also send

#

058B3C4F3699C62C

#

DDS original file

neon tulip
mental geyser
#

aPES_PoggerDance ๐Ÿ™‚๐Ÿ‘

mental geyser
mental geyser
#

so i dont see anything odd about the textures

#

which means it a me doing bad job at coding probs lol

neon tulip
#

Very interesting, it looks like keeping the latent_tiled_size is actually much faster than the 512 - perhaps there's a sweet spot in between the 128-512. But with 128, even when it's 4096x4096 it still works very well peepoBlushReallyHappyDank

mental geyser
#

Good to know

#

Maybe it was some weird math in tiling

mighty cedar
#

Is it just me or the earlier versions of PBR Fusion (I think version 1) took more liberties with upscaling and "recreated" textures while the new one leaves a lot more artifacting and looks more like ESRGEN or Topaz upscales

jade lake
#

Colorful Diffuse Intrinsic Image Decomposition in the Wild

discuss: https://huggingface.co/papers/2409.13690

Intrinsic image decomposition aims to separate the surface reflectance and the effects from the illumination given a single photograph. Due to the complexity of the problem, most prior works assume a single-color illumination and a Lamb...

#

I think this is pretty interesting

mental geyser
mental geyser
jade lake
#

Mmmm

mental geyser
# jade lake Mmmm

Oh and they don't have training code so I can't even try to train my own ๐Ÿ˜ฆ

rustic talon
#

@mental geyser you should update your readme on hf

abstract ingot
#

Seemed pretty straight forward...... SEEMED.

#

Was using the RTXRemix json and only thing I changed was the 30/40 setting.

mental geyser
#

yeh it defaults to 1 displacement

primal olive
abstract ingot
#

Ah that makes sense lol

neon tulip
#

@mental geyser Kim helped me cook peepoBlushReallyHappyDank There was a potential for the aiupscale_texture layer created from the Remix workflow of PBRFusion to be deleted because the default Remix Comfyui had the Delete Layer node enabled.

#

#1216200397497045002 message Kim adjusted the workflow to remove the delete node and either have it create aiupscale_texture, or add on top of that layer if it already exists. I adjusted PBRFusion's to match that new workflow

#

I believeeeeeeeee it's correct, I've tested it on a project and it appears to be working, I just haven't had it reviewed by anyone smarter on comfyui than me pephehe

mental geyser
#

Thanks!

neon tulip
#

@mental geyser I noticed this node turned red (idk if it's always been like that) but the console gave me this message, wasn't sure what it meant with BAE, Midas and standard Looking

neon tulip
#

I'VE COOKED! (i think lol), it looks like on the SeeSR Upscale node, the default value for upscale was 4, but with PBRFusion our default output for upscales+pbr is 2048x2048, 4 was giving us the 4096x4096 we weren't sure was coming from.

#

This has DRAMATICALLY increased speed for me, the hiccups look like they're cured pepespin

#

@primal olive iffffff you were thinking about trying again now auto, my lil fix above will prevent u from getting that 4096x4096 thingy/freeze Callum

pale field
#

Do you guys have support for GLI DDS textures?

mental geyser
mental geyser
mental geyser
pale field
#

it has the GLI header

rustic talon
#

#game-compatibility message

#

python.exe convert-gli-r5g6b5-header.py 24082A17F065691A.dds my_fixed_output_image.dds

#

i'm going to mirror your GLI script in #1095534398134300682 if that's okay @split raft

neon tulip
split raft
burnt oyster
#

PBRFusion is the greatest descovery I have ever made on this server

primal olive
#

nice

#

is there any displacement for the bricks

burnt oyster
primal olive
#

which would make the bricks look more 3D

mental geyser
#

It does and should have worked pretty well here

#

@burnt oyster bring the height peepoCirclespin

burnt oyster
#

Iโ€™m having some PC issues as of recent

#

Iโ€™m resetting my windows rn

burnt oyster
#

Idk how to properly lay height maps on RTX remix

#

It still looks good though

#

If you know, Iโ€™d appreciate telling me

mental geyser
#

the _height file it generates you ingest as displacement like other maps, in toolkit near bottom theres a dropdown for displacement you put in height file you ingested and change slider to 0.01

primal olive
burnt oyster
#

Like roughness

#

Or smth else

primal olive
#

IS AT

#

A SEPARATE SECTION

#

AT THE BOTTOM

#

NOT WITH THE OTHER TEXTURES

#

SCROLL DOWN

burnt oyster
#

Thanks for telling me

primal olive
mental geyser
#

lol

#

least passive agressive auto

#

๐Ÿ™‚

primal olive
#

it's not passive if it's all caps

mental geyser
#

lmao

primal olive
#

it gives a buff to the words

burnt oyster
burnt oyster
mental geyser
#

....

#

a great typo

rustic talon
#

lol

#

it's even in the comment above it

mental geyser
#

@neon tulip this is likely how its breaking out into 4k

#

ThisIsFine V2.0.2 ThisIsFine

  • Fix Typo and add Skurttys Remix Workflow fix for layers,

Install: drag contents of zip into directory next to "run_nvidia_gpu"

neon tulip
#

Testing right when I get home dance

neon tulip
#

HOUSTON, WE HAVE LIFTOFF 5511villagershock

#

They are FLYINGGG out like hotcakes, no more 4096x4096 clappypepe

rustic talon
#

about how long does it take per texture?

neon tulip
#

45-50 seconds each peepoBlushReallyHappyDank

#

ZERO hiccups, this is amazing FeelsWeakMan This is going to dramatically reduce batch upscaling times, and give an accurate ETA when everything will be done YesYes

mental geyser
#

@primal olive The problem you were seeing is now fixed ๐Ÿ˜ฎ

primal olive
neon tulip
#

ooooooo, does pbrfusion have text to image nodes? Looking

mental geyser
#

The controlnets are trained on text to image models, so yes every map is going through text 2 image models, prompting doesn't change much tho for these

neon tulip
#

Very cool peepoBlushReallyHappyDank Got any recommendations for a tutorial series on comfyui if you used any? Callum

mental geyser
#

hmm, not really ive maybe watched a total of like 20 min worth of comfyui videos lol, mostly trial and error and exploring others workflows

neon tulip
#

Yeah I'm noticing it's less hard than I thought it'd be, some pretty impressive stuff YesYes

mental geyser
#

@dusty whale feel free to ask any questions here,

dusty whale
glacial gale
mental geyser
glacial gale
#

thank you

dusty whale
mental geyser
#

put the image into any folder

left of green box input path to that folder

#

assuming you loaded the workflow first

dusty whale
#

well no

mental geyser
#

btw this will upscale and do pbr

dusty whale
mental geyser
#

thats fine it can take those

dusty whale
#

then what?

mental geyser
#

step 5

#

or for 1 image just hit queue prompt on right

#

when its done results will be in PBRFusionPortablerootdir/ComfyUI/output

#

what gpu do you have btw?

dusty whale
#

4070 laptop

mental geyser
dusty whale
#

o wait

#

im dumb

#

LOL

mental geyser
#

yeh the one below lol

dusty whale
#

where is the queue prompt

mental geyser
#

right side of the screen

dusty whale
#

wait

#

yeah i see it

#

then i keep it at batch count 1?

mental geyser
#

for one image yeh

dusty whale
#

so id do it based on how many images i have in the folder?

mental geyser
#

yes ma'am

dusty whale
#

aight

#

well lets see the entire game is ran on 4 textures lol

mental geyser
#

lmao

dusty whale
mental geyser
#

couple artifacts but not hard to cleanup in photoshop

dusty whale
#

iont got photoshop but oh well

primal olive
#

thank me later

dusty whale
#

@mental geyser uh...?

#

im stuck on prompt 3

mental geyser
#

hmmm

mental geyser
#

i got rid of that problem node

dusty whale
#

its no longer giving me that error

#

its taking a bit at this modual but no errors so far

mental geyser
#

upscaling does take a lil bit and will seem stuck on that bar, its processing, it just isnt reflected in that loading bar

dusty whale
#

figures lol I didnt think it was breaking in any way

mental geyser
#

maybe i will speed up a bit if you change latent tiled size to 96

#

circled in blue

#

then node is on bottom left of workflow

dusty whale
#

iont need speed I need accuracy

#

I can wait

#

unless this is like blender tiles

mental geyser
#

it wont affect accuracy, its just faster with higher value with more vram

dusty whale
#

right so like blender rendering tiles

mental geyser
#

mmmmm no not exactly

#

there will be an affect, but not necessarily worse, or even noticeable

dusty whale
#

I meant in the sort of way that it renders images in squares at a time, unless that too is wrong

mental geyser
#

it is proccesing in a smaller tile, whether or not thats affecting things is trivial

#

in my tests you dont see a difference

dusty whale
mental geyser
#

๐Ÿ˜ฆ why is it scratchy

#

lol

#

well still better then remix tool

dusty whale
#

yea

dusty whale
mental geyser
#

ah

#

I am working on debake model being trained soon, well see if that helps

#

well its also cuz im cheating a lil bit i add some fine details back in, if i didnt itd be smooth, usually this helps alot, this is an exception\

dusty whale
#

WickeNoted2 still looks aight

mental geyser
#

moooooooore roughness

#

is too shiny, unless this lego?

dusty whale
#

I mean its roblox

mental geyser
#

ohhhhhh

dusty whale
#

and this+3 other textures control the entirety of the game

#

altho im confused what the white textures do, they only say diffuse

mental geyser
#

diffuse should be the brown color one

#

should be diffuse , roughness, height, normal

dusty whale
#

thisl pop out

primal olive
#

that looks surprisingly clean

primal olive
mental geyser
#

its probs height ๐Ÿ‘€

#

but idk

#

on such flat textures it stuggles

dusty whale
primal olive
#

nvm that's roughness

#

the other one is height then

mental geyser
#

wait no

#

you were correct

primal olive
dusty whale
mental geyser
#

like i said it struggles with flat depth

#

does it not say _roughness or _height on filename

dusty whale
dusty whale
mental geyser
#

it shouldn't lol

dusty whale
#

All of them say diffuse minus the metallic and roughness map

#

For me

mental geyser
#

wha

#

where are you getting metallic

#

this tool doesnt do metallic

dusty whale
#

Wait lemme check again

#

The metallic was from the nvidia one maybe? Idk KEKW

#

Anyways I'll see abt finishing Allis later I have work to attend

burnt oyster
primal olive
burnt oyster
#

Yeah thatโ€™s what it is on most things, only one looks better at 0.13

neon tulip
#

Do you remember how you got the DirectX output? I'm only seeing Normal, BAE and MiDas LookingR

mental geyser
#

I added my own code ๐Ÿ˜›

#

feel free to take the node file from pbrfusion

#

i need to do a pull request on his repo

#

which node pack is it again?

neon tulip
#

Thanks! You're a genius YesYes

burnt oyster
#

trying to install it again cause I re set my PC and getting a not found 404 error message

mental geyser
burnt oyster
#

Should probaly Pin that

abstract ingot
#

Thinking about doing a huge batch but uhh... how do I save the images?

neon tulip
#

All the upscales(and PBR if selected) will be in \PBRFusionPortable2.0\ComfyUI\output

abstract ingot
#

Thanks

abstract ingot
#

So I gave this a try and it's honestly really good.

#

But one thing I've noticed is that the data set really obviously has no singular items in it. Like a single rock. So every file with any opacity has unupscaled pixels surrounding it.

#

I've pretty much had to trash every low res plant sample and numerous other things.

#

Otherwise it's pretty insane seeing what is pretty much a 8x4 brick turn into a proper brick with a hole in it near a slightly darker pixel.

mental geyser
#

Thanks for the feedback ๐Ÿ™‚ Can you send a problem file you had with opacity?

abstract ingot
#

I've tossed the vast majority of them but really it's every object with opacity. It's most noticable on low res objects though.

#

The plant is a really great example.

rustic talon
#

that's most likely an issue with not upscaling the alpha layer

#

it should be easily fixed. @mental geyser you can just use my span model to upscale the alpha alongside the main model

#

here's an example comparing alpha layer handling

left is the alpha layer simply resized with a normal resizing filter

right is alpha upscaled with an AI model

#

i'd tell you how to fix it right now puma but i'm not sure how. nightraven will have to do it

grim umbra
#

i just make my own black and white version of the original image and upscale that

#

its like a shitty version of a alpha layer

mental geyser
#

@here Newest Version I'm working on and its a lot lighter (Using an actual depth model this time)

Beta available here you can run for free on Huggingface no acct needed

https://huggingface.co/spaces/NightRaven109/PBRGeneration

Still sometimes has some weird shifting artifacts or is very blurry in details that should be present, but color bias is alot less and overall alot better HYPERS
(Beta cuz this is more of a rough draft model trying to fix above problems)

Any feedback is appreciated

neon tulip
#

YIPPEEEE!!! Can't wait to run a batch, nice work NightRaven! pepespin

mental geyser
#

Updated model and added some quick examples

Color bias who?

primal olive
#

Wow that is an excellent height map

mental geyser
#

But what if

#

we could go a step further

#

and make a mesh (point cloud rn)

#

๐Ÿ™‚

rustic talon
#

man i don't think i'm ever gonna catch up at this rate lmao

#

that's amazing

mental geyser
#

not perfect

#

yet... ๐Ÿ™‚

#

could probs do more post processing and normalizing

#

hmmm i wonder if instead of point cloud, put it in the world of gaussian splatting and take advantage of the tech in that space

rustic talon
#

is that based on the height map?

mental geyser
#

yup

rustic talon
#

wow

#

well, shows how accurate the height map is now. what arch are you using for that?

mental geyser
#

Depth AnythingV2

mental geyser
#

8 million triangles lol

mental geyser
#

def rough draft of this concept but im happy so far

pale field
#

How much load does it put on the GPU for one image result. And how can I batch pbr them using capture

mental geyser
#

for the model in the huggingface space not much at all really maybe 3gb of vram, and can even run on cpu within 8 seconds

#

as for batching i dont have it available for batching yet, huggingface space is only release till i do a better model (which is training rn)

#

for this image to 3d thing, it outputs a 1gb obj file which is def overkill over a min of processing, can def get that down

rustic talon
#

so you're training a custom model on the depthanythingv2 arch?

mental geyser
#

ye

#

starting with there base model as pretrain but i think itd be fine from scratch too

#

i lied above depth model + normal map processing is 15 seconds on cpu. ig i dont know how long on gpu lol, thought i was using gpu (this is doing a 2k image)

pale field
pale field
#

Could there be a way to get AI roughness maps using prompt and another mask layer for a more refined control on the final output. Same for metallic map

mental geyser
#

I'll test GPU inference times tomorrow

mental geyser
#

So far it's been the hardest

#

And I have no clue how metallic would be done

#

Automatically at least

rustic talon
#

if anyone gets metallic working without guidance, my mind will be blown

#

it seems impossible

mental geyser
#

Instamat has a cool way of doing it

rustic talon
#

using something like segmentanything and using it to generate a mask for metallic elements (hand picked) could work

mental geyser
#

I just feel like There'd be so many false positives

rustic talon
#

without any guidance, absolutely

rustic talon
#

then the mask could be used for a metallic map model in some way

mental geyser
#

Ah, thats kinda what instamat does but with less control

#

You choose a pixel color range in image

#

And it makes mask

mental geyser
#

I don't see a model working well consistently

rustic talon
#

with the mask, all it would need to do is determine how shiny an area should be. that should be at least somewhat doable imo

mental geyser
#

Maybe, it would be the last thing id work on if I was done with all my other ideas lol

#

Plus I kinda see it as the easiest to make manually, sparsely used maps

#

Well how is it procedurally generated?

pale field
#

I kinda want to know how exactly do you specify parts of the image for upscaling and possibly marking areas for roughness, maybe something akin to ContolNet and Llama for automatic prompting

pale field
#

Wicked

small cliff
#

Neat

mental geyser
#

This new train is def better so far

#

and got rid of most of that oddness i was seeing

#

huggingface space has been updated to it

mental geyser
#

oh uhh color bias is back rn on newest model, hopefully more training will bring it back out

abstract ingot
#

Is the alpha layer issue fixed with that version?

mental geyser
#

will be

fast nova
#

Does PBRFusion 2.0 works on the RTX 2080?

#

As I understand, the reason of this - vram

mental geyser
gritty dew
#

Does the depth anything work on 20 series?

mental geyser
#

ah

#

no oof

#

well maybe

mental geyser
#

uh oh

#

huggingface now has a storage limit lmao

burnt oyster
#

4.65 Tb/ 1 tb

#

Think your a bit over the limit

mental geyser
#

nahhhhhhh

zealous plank
zealous plank
distant gate
# mental geyser

Using deductive reasoning one can assume the red indicates used, the blue indicates open. So by my calculations, you have still have roughly 30% of your 1TB left of which you have so far used only 465% of

mental geyser
#

Facts

small cliff
#

co9kie ball

#

used that space btw it's not just an out of place thing

mental geyser
#

So id like to do more testing research and training, the texture upscale isn't ethical cuz it's using sd 2.1. I don't have high hopes we can get similar results without it. Once I'm happy with both it will be released with full comfy UI stuff, batch processing

neon tulip
#

EEEEEEE we're getting a new PBRFusion for christmas chattt Catpls

mental geyser
rustic talon
neon tulip
#

@velvet orbit you put your directory of images you want to upscale in the select directory, if there's multiple in the folder put how many under extra options like this, and then queue prompt

#

After they're one they'll be in ComfyUI\output

velvet orbit
#

@neon tulip I got this error window. What does that mean? there's nothing in the output folder

neon tulip
velvet orbit
mental geyser
#

wrong version thats 1.6.8, dunno why it wouldnt work but its legacy

#

idk if a 3050 can run seesr in 2.0 tho

mental geyser
#

Lmao it was way below 351 at least 75% of those are failed runs

#

But I've learned alot I didn't regret a single hour it's been fun

#

๐Ÿ™‚

neon tulip
#

NightRaven the absolute goat for help making AI upscalers prime tools for Remix clappypepe clappypepe clappypepe clappypepe

distant gate
#

Sweeping the competition

neon lark
#

hey i'm trying to upscale a 256x256 texture with RTX3080 card and it's taking a few hours, using the rremix json. is this normal?

#

hmm then this message came up:
VAEDecodeTiled_TiledDiffusion
Expected all tensors to be on the same device, but found at least two devices, cpu and cuda:0! (when checking argument for argument weight in method wrapper_CUDA___slow_conv2d_forward)

mental geyser
#

Hmm can you pastebin your CMD log?

mental geyser
neon lark
#

im guessing its because the remix program running in the background uses too much vram

mental geyser
#

Ah that would do it

snow acorn
#

ั‚ะฐะบ, ั ั‚ัƒะฟะพะน

mental geyser
#

did you load the json PBRFusionV2.0.2BatchLoader.json (its in same folder as run_nvidia_gpu.exe) workflow first?

#

and no you are not stupid ๐Ÿ™‚

snow acorn
mental geyser
#

you may have to zoom out a bit to find the workflow to the left

snow acorn
#

oh fu...

#

Do you have a step-by-step video tutorial?

I am not a native English speaker, it is difficult for me to understand the interface.

snow acorn
#

@mental geyser

is it possible to run "TextureUpscaleBeta" on Google Colab?

"huggingface.co " limits the number of generation attempts and frequently interrupts processing

mental geyser
#

The weights in the huggingface spaces are not publicly available yet, I would make a tutorial for PBRFusion but am out of town for a wedding so I have no time this weekend

snow acorn
#

๐Ÿ‘€

neon tulip
#

chatgpt found pbrfusion! BLANKIES

mental geyser
#

Ayo?

snow acorn
distant gate
neon tulip
#

chatgpt getting so smart xorxor

mental geyser
#

@neon tulip and anyone else who would like to help you can help with prompting a dataset here, Please be pretty verbose, but not to the point of making up info. If not sure on a description you can skip

Tip: I included filename to help on top

https://prompts.gregg8.org/

Please do prompts with , between features as seen in image below

#

and thanks if you help out ๐Ÿ™‚

distant gate
#

not actually filling out prompts with chatgpt responses, that would be cruel

mental geyser
#

could be useful sometimes

#

just want it to be as clean as possible as well so cant auto it ๐Ÿ™‚

neon tulip
#

Pro tip, it displays the original texture name, helps identify what we're looking at - I thought this was the night sky lmaoo

silent socket
#

wtf is this

mental geyser
#

Lmao

mental geyser
#

wait i may just be dumb

#

all these come with a json file that has descriptve tags i can just parse out lol

neon tulip
#

HUGEEEE

#

lol it felt like I was tagging for 2 hours yesterday and I didnโ€™t even get to 100 ๐Ÿ’€

mental geyser
#

you a real one g

forest mountain
#

what folder should i be upscaling for remix?

#

i might be stupid

#

this is new to mees

burnt oyster
#

once you have the texture you want to upscale, put it in any EMPTY folder and then put the file path in the green box

#

it's been a minute since I used this so if there's a step that changed/I'm wrong somebody please correct me

neon tulip
# forest mountain this is new to mees

You can set this to be rtx-remix/captures/textures which will upscale the entire captures folder, or you could point it to whatever folder really. The folder that has the stuff you want upscaled kit_yes

#

When it's done they'll be in ComfyUI_PBRFusion_Portable\ComfyUI\output

forest mountain
#

nvm

#

shit will not upscale

#

sonic adventure dds files are broken asf

#

they dont even open

neon tulip
forest mountain
#

ty

#

too bad i cant use it

neon tulip
#

hmm that's weird, does it give you an error message at all? Looking you wouldn't happen to be on a 20 series card would you :3

forest mountain
#

im on a 30

neon tulip
#

Oh yeah that should be fine. wut da heck AAA

neon tulip
#

kit_Voices arrr naurrr, try to send a few of them here and I'll see if I get the same error

forest mountain
#

alrighty

#

yeah they're uber broken

forest mountain
#

i gotta ask jacob

#

since he did it somehow

#

i think

neon tulip
#

kit_plink curious for the answer if u find it

forest mountain
#

ive been stuck on this for like a solid 3 mins

neon tulip
#

Still stuck? ๐Ÿ‘€

forest mountain
#

i'm in bed now since i got shit to do

#

air force air force air force all the way hey!!!

mental geyser
#

What GPU?

forest mountain
#

3060 ti

mental geyser
#

What is blue currently set too, you can try decreasing it

forest mountain
forest mountain
#

i lowk just might be missing something

mental geyser
#

Try 96, and what res are you trying to upscale?

forest mountain
#

32-32

mental geyser
#

Oh..

forest mountain
#

the bigger ones are 128-128

mental geyser
#

idk why it isn't working, but not sure how well it'd do even if it did work lol

#

Try this

forest mountain
#

oh boy!

#

is there anway to do this locally

mental geyser
#

not atm

forest mountain
#

bummer

mental geyser
#

Either this beta

Or

Kim's pbrify does better on smaller res then 256x256.

PBRFusion struggles upscale below 512x512

forest mountain
#

ig ill try kims

mental geyser
#

beta output

mental geyser
#

aww how nice they gave me more storage

small cliff
#

Upscale Seems to work pretty excellent for 128 it's just compression that kills it

mental geyser
mental geyser
#

could try out new outward pom as well

snow acorn
#

This is a texture from Divinity II

RTX Remix doesn't work in it

mental geyser
#

AH

neon tulip
#

A PBRFUSION DROP POGGIES

#

do we replace the diffuser on pbrfusion2.0 with the depthanythingv2? Looking

snow acorn
#

๐Ÿ‘€

mental geyser
snow acorn
#

TextureUpscaleBeta | deep-image ai | bilinear

#

TextureUpscaleBeta has a lot of noise patterns

rustic talon
#

awesome results so far though

snow acorn
#

I'm wondering why there are Prompt and Negative Prompt items in the TextureUpscaleBeta interface.

No matter what I put in there, the result didn't change.

mental geyser
#

4x mode or 8x?

snow acorn
#

4

neon tulip
#

Nice work nice work peepoBlushReallyHappyDank

rustic talon
#

could you please share with me all of the input images you used there lol

neon tulip
#

Yeah! I used the default that was on the Spaces page for the beta xorxor

rustic talon
#

oh okay lol

#

@mental geyser you might want to incorporate some halos into your LRs

#

i'm gonna be training a model to remove halos. it'll be a lightweight model. you could probably pass images through it before upscaling without any issue if you wanted

mental geyser
neon tulip
#

typingcat chat what's a halo texture, google keeps showing me halo the videogame lmaoo

rustic talon
#

it's not a texture type, it's an artifact from oversharpening or similar processes

#

it's on the first input image

neon tulip
#

Ahhhhhh gotcha, good eye kit_yes

rustic talon
#

some of the artifacts from it were retained in the upscale as well, which is why i suggested night add some more halos into the training dataset ๐Ÿ™‚

#

it'd help prevent this

rustic talon
#

here's an example

neon tulip
#

Ahhhh yeah, it does have an effect it looks like Looking

rustic talon
#

my model is so much worse with that though lol

#

it's probably an issue with my dataset. not sure if that's what night is still using or not

#

but yeah

mental geyser
#

your dataset is included + mine

burnt oyster
#

was trying out the new version, when I start I get this error

#

nvrm

#

it just worked all the sudden

mental geyser
#

there is no new version lol

mental geyser
#

ik img sli will put it back into jpg but im curios

rustic talon
#

this site keeps it in png

#

has a slider comparison mode too

mental geyser
rustic talon
#

that's amazing

#

great work

mental geyser
#

๐Ÿ™‚

neon tulip
#

Yeah that's great!

burnt oyster
rustic talon
#

it'll get clearer as it trains, this is early on

#

but that's how about that image should look. new model will do that ๐Ÿ™‚

#

it's SPAN too so it'll be quick to run

rustic talon
small cliff
#

Well at least the texture's good mmcDUDUDU

#

I used a seperate compression artifact removal tool and did some light color replacing to fix a bleeding issue at the bottom, and then I upscaled both parts seperately and recombined them, then used the normal tool.

small cliff
#

SADX

forest mountain
#

the hands really looked like sa2 for some reason

mental geyser
#

output of pbr gen space is much better now as it outputs full png quality

quiet delta
#

does any model recommend ?

snow acorn
#

VFM5

mental geyser
neon tulip
#

NICEEEEE WORKK! Catpls That's crazy good

stray barn
#

outward displacement doesnt show in the toolkit (currently), only in runtime

mental geyser
#

Oh lol I got it to work ๐Ÿ™‚

mental geyser
stray barn
#

@burnt oyster
I should have been clearer, For the v.2024.5.1 (i dont have those manualy updated files for the toolkit)
Outward displacement doesnt show in the PREVIEW/RENDER window in the toolkit (ofc it shows as an option, how can you see et in the runtime if you dont set it in the toolkit... )
thats my experience anyway... then i go ingame and i facepalm at some outward displacements

mental geyser
mental geyser
#

Good news new pbr model only takes 7gb of VRAM, no matter res

rustic talon
#

pretty good given how horrible the original is lol

small cliff
#

What the hell lol

mental geyser
#
small cliff
#

No no I mean like what's the specific thing we're comparing here, was there a special process for the "megascans" thing?

#

The reaction implies that "megascans" looks worse and I don't think I could exactly back that part at least

mental geyser
#

I guess goal would be to be able to get as as good of PBR as a megascan asset or close to it

snow acorn
#

@mental geyser๐Ÿ’€

#

why aren't the textures in Diffuse2PBR seamless?

mental geyser
#

well i cant guarantee itll be perfect every time lol. PLus i may have a way to allievate in comfyui

#

what was orignal picture?

snow acorn
snow acorn
mental geyser
#

i mean this looks p seamless to me

snow acorn
mental geyser
#

technically the normal maps are wrong on the space rn, but im gonna need a little more then "bruh"

burnt oyster
#

Heโ€™s tryna point out the seam here Iโ€™m assuming

mental geyser
#

ahh i see

quick zenith
# mental geyser ahh i see

The way you could fix it is during inference you could add circular padding around the texture and crop it back afterwards. May not be perfect but it should help at least a little bit

neon lark
neon lark
#

not amazing actually but maybe useful somewhere

mental geyser
#

@snow acorn try out this normal map, this is output full comfy release will have, should be much better

mental geyser
#

thanks for pointing that out blob_green_heart

snow acorn
#

and please add a seamless texture feature to the checkbox.
this method may not be suitable for all textures.

mental geyser
#

implementation shouldn't ever be detrimental

#

but ofc theres always edge cases

snow acorn
#

if you are dealing with baked textures, there may be errors.

quick zenith
# mental geyser

If you don't mind me asking, what ended up fixing your issue in the end ? ๐Ÿ˜›

mental geyser
#

padding didnt end up helping a ton ๐Ÿ˜ฆ

tried a couple methods, blending, bluring, smearing

ended up with Fourier Transform

ai helped with that implementation ๐Ÿ™‚

mental geyser
#

These new models are close to a release state everything is changed from different sr model to custom depth model, should I just call the new iteration PBRFusion 3?

rustic talon
#

ya

neon tulip
#

A NEW DAWN IS ON THE HORIZONNNNN!!!!

mental geyser
#

Isn't life odd I never head of Fourier before yesterday and today I'm scrolling through Reddit and it's in a meme lol

#

The algorithm is always watching

mental geyser
#

will be only 22gb ๐Ÿ˜ฎ

mental geyser
#

nvm only 17gb

pale field
#

Nice

#

I might be able to download it

#

Wasn't it 32gb before?

mental geyser
#

PBRFusion 2 (Legacy)

#

@rustic talon pls archive ๐Ÿ™‚