8 ms·
For everyone about to comment on the garbage in the commit: It looks like the committer made their changes in the top commit, then merged the updated CompViz S
by qdot76367 4y ago
For everyone about to comment on the garbage in the commit:
It looks like the committer made their changes in the top commit, then merged the updated CompViz StableDiffusion change set on top of it for some reason. That's where the license change, rick astley image, etc come from.
And yes, StableDiffusion from the original repo will rick roll you if you try to generate something that triggers its NSFW filter.
Here's the code that does it:
https://github.com/CompVis/stable-diffusion/blob/main/scripts/txt2img.py#L79 https://github.com/CompVis/stable-diffusion/blob/main/script...
And here's what it looks like:
https://twitter.com/qDot/status/1565076751465648128 https://twitter.com/qDot/status/1565076751465648128
- NHQ 4y agoBut what is the correct git command to ignore all that?
- cercatrova 4y agoThere's no git command to ignore it, the main repo should merge their changes and then the other person can make a PR on the updated changes.
- NHQ 4y agoWhere are PRs in Git?
- oefrha 4y agoDo a git-cherry-pick.
- p-e-w 4y ago> And yes, StableDiffusion from the original repo will rick roll you if you try to generate something that triggers its NSFW filter. It goes without saying that the authors of a piece of software have the right to make the software do whatever they want, but that shouldn't stop us from recognizing that AI engineers are starting to act like megalomaniac overseers who consider it part of their mission to steer humanity onto the "right" path. Who exactly do these people think they are? Imagine this behavior from a web browser. "The URL of the file you were trying to download triggered my NSFW classifier, so I'm going to replace the file with this funny image." This isn't funny, it's creepy.
- esjeon 4y agoYeah, but, when it comes to generating NSFW contents, it is illegal to distribute pornographic software in some countries, and doing so can lead to domain blockage and such (i.e. South Korea, believe or not). This is something you gotta understand. Also, if the author wanted to block NSFW contents at all, I'm pretty sure one can actually make the filter inseparable from the main network. This isn't the case here AFAIK.
- p-e-w 4y agoThat makes no sense. You can draw whatever you like with Photoshop. You can search for whatever you want on Google. That doesn't make the software "NSFW", and no country will block Photoshop's domain just because someone used Photoshop to create NSFW content. Don't let people who are clearly motivated by a moralistic desire to control others hide behind BS pseudo-legal excuses.
- manmal 4y agoExplain this to insert regime when they block your GitHub repo or make using your software a felony. You are proposing to act on ideology, while such mitigations are rooted in pragmatism. You often can’t have both.
- esjeon 4y ago1. Google do have a stuff called "SafeSearch"[1] to filter explicit contents, and they do have a DMCA-like system for processing violation reports from governments and legal entities. That is, Google is already cooperating. 2. Photoshop's sole function is to let people draw, so drawing a porn w/ Photoshop is 100% users' responsibility. In case of image generators, the AI itself has the capabilities to create NSFW contents. If you're talking about the interactive nature of "prompt", that logic also makes any adult games SFW - they are safe until the user clicks something. [1]: https://support.google.com/websearch/answer/510 https://support.google.com/websearch/answer/510
- the-rc 4y agoYou'd be right about Photoshop, but... https://helpx.adobe.com/photoshop/cds.html https://helpx.adobe.com/photoshop/cds.html
- aortega 4y ago>StableDiffusion from the original repo will rick roll you if you try to generate something that triggers its NSFW filter. Just replace in scripts/txt2img.py: - x_checked_image, has_nsfw_concept = check_safety(x_samples_ddim) + x_checked_image = x_samples_ddim And be done with it.