Skip to content

u/sam__izdat

In this archive from Jan 2018 to Dec 2022

9
posts
276
comments
26
media
2.1k
score
1 saved before deletion

I might give it a shot later. The grpcserver code's a little overwhelming, because I'm not familiar with diffusers in the first place so it's a bit of hunt to figure out what does what. But I've been getting surprisingly coherent outpainting results even with the naive approach, and without CLIP guidance.

1 points

The repo is maintained by some kids from 4chan who used to make racist video game mods, is all-rights-reserved with no license (and no chance of getting one with its ~200 all-rights-reserved willing and unwilling contributors), and packed full of stolen MIT code willfully stripped of its permissive license agreements.

If you want to avoid the potential of future legal problems for your company, I would urge you to reconsider, or at least run it by a lawyer first.

1 points

Nearly everything with a GPU capable of doing it is already running at half-precision. Full/double precision is not necessary for inference here and will not improve your quality. Switching to FP16 might change your output, but not in a way that'll degrade anything.

Look at the actual defaults on vanilla SD from runwayml and compviz:

parser.add_argument(
    "--precision",
    type=str,
    help="evaluate at this precision",
    choices=["full", "autocast"],
    default="autocast"
)

Basically, almost any consumer GPU capable of running this is already defaulting to FP16.

-13 points

For one, code licensing has nothing whatsoever to do with AI "artists" -- the fact that the repo is a pile of copyright infringement that's itself illegal to use, modify and distribute has nothing to do with the copyright status of the pictures generated by end users. MIT is a software license.

Your pictures are probably not copyrightable at all, based on current precedent. The US copyright office has rejected that repeatedly, because you actually have to do something creatively to copyright an image. And even if they were copyrightable, it wouldn't have anything to do with the software... And some gradio UI isn't "the software" anyway -- it's just some buttons for you to push that feed a text box into the actual diffusion model.

5 points

I think part of the frustration is

That's great, but it doesn't have anything to do with the fact that this isn't a model or a novel algorithm, and that the question itself is incoherent.

Obviously a 2x+ speed increase is cool and I hope you have luck with the rollout

I am in no way involved with this TensorRT implementation, other than suggesting a few minutes ago that they double-check all their PRNG seeds.

, but consider a less dismissive approach to criticism

What criticism? Is misunderstanding what pytorch is and does "criticism"?

0 points

Is it fair to call it a speedup if the output is completely different?

Is it fair to call a car fast if your socks don't match?

Whatever PRNG problem is causing it to generate a different output every time is an unrelated issue and has nothing to do with performance.

Could you comment on that and do you have any metrics for the quality of the output with your approach?

What does this even mean?

edit - Okay, judging by the down votes, some you are apparently very confused, so let me try to explain this in "make_pretty_ladies.bat" terms. This is all a totally deterministic algorithm. That means, given the same CLIP embeddings ("prompt"), noise and settings, your u-net denoiser will always spit out the same result. Linear algebra doesn't have "quality metrics" -- whatever that means.

-22 points

My next idea is to try to teain dreambooth on normal map data, which could maybe be turned into high quality zdepth maps if it works.

You won't be able to correlate it with anything because your "rendered" model will produce totally different results.

The way this has actually been done with u-net is by cascading two of them: one for delighting feeding into another for geometry. The first could take SD output as input but after that SD is going to be a third wheel.

Look up intrinsic decomposition.

4 points

I seriously wonder what would happen if you trained an AI on a hypothetical dataset that is just as large, but extremely carefully labeled and contains only aesthetic, qualitative images.

Delusions of artistic grandeur for typing in "draw me pretty ladies" and idiotic warding rituals, like putting a bunch of nonsense into negatives prompts, would be curbed significantly.

17 points

From an AI researcher perspective, this is quite interesting. But it's not very clear to me what exactly it is you have done here.

Absolutely nothing. The negative prompt is just a mystical ritual (as I'm sure you can tell from its content) and, for the most post, any bad training that it filters out, it only does by accident and sheer coincidence.

Somebody did an unbiased test with these magic incantations a while ago, and it went exactly how you would expect. But if you spam the CFG with enough random nonsense, you will eventually steer the output in some random direction, for better or worse.

-7 points

You can check available devices with e.g.

    print('CUDA available? ', str(torch.cuda.is_available()))
    print('Available devices: ', torch.cuda.device_count())
    print('Current CUDA device: ', torch.cuda.current_device())
    print('Device list: ')
    for i in range(torch.cuda.device_count()):
            print(torch.cuda.device(i))

Assuming Linux, you'd set CUDA_VISIBLE_DEVICES as a variable with your shell, e.g.

CUDA_VISIBLE_DEVICES=0 python myscript.py

- for first GPU, or -

CUDA_VISIBLE_DEVICES="" python myscript.py

- to disable CUDA.

0 points

When I think of a tool I think of some sort of asset pipeline and end goal in mind -- e.g. a well maintained searchable reference library, a shader graph, a LUT creator. They didn't implement it as a tool -- that takes work. They implemented it as a picture generator.

It's also remarkable how the opt-in/opt-out process is some kind of incomprehensible word salad when all you really have to do is let your usership basically configure their own robots and noindex tags and then obey them, as if you were any other well behaved crawler. The web standards to handle this have existed since the 90s.

0 points

Results just look bad, but it's hard to appraise an implementation when half the examples are a bunch of pedo shit.

Also what I assume is supposed to be a paper is named but is nowhere to be found by that title. Going by what's here, the only part that kind of works just seems to be a subpar zero/few shot style transfer.

-9 points

You're part of a growing list of unwilling "contributors" whose code was lifted by that gaggle of 4chan twits. You do what you think is right, but I wouldn't hesitate for one second to file a DMCA takedown. You have every legal and moral right -- this was not an honest mistake.

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.