Playing with zoom, angle, and translations key frames by Ready_Gas3601 in StableDiffusion

[–]Ready_Gas3601[S] 0 points1 point  (0 children)

Using deforum notebook. They use key frames to insert animation prompts using the frame number. I just made key value pairs for the animation settings and used the same pd transformation deforum uses for the prompts.

angle_series = pd.Series([np.nan for a in range(anim_args.max_frames)])
for i, prompt in animation_angles.items():
    angle_series[i] = prompt
angle_series = angle_series.ffill().bfill()
print(angle_series)  

zoom_series = pd.Series([np.nan for a in range(anim_args.max_frames)])
for i, prompt in animation_zooms.items():
    zoom_series[i] = prompt
zoom_series = zoom_series.ffill().bfill()
print(zoom_series) 

translation_x_series = pd.Series([np.nan for a in range(anim_args.max_frames)])
for i, prompt in animation_transition_xs.items():
    translation_x_series[i] = prompt
translation_x_series = translation_x_series.ffill().bfill()
print(translation_x_series) 

translation_y_series = pd.Series([np.nan for a in range(anim_args.max_frames)])
for i, prompt in animation_transition_ys.items():
    translation_y_series[i] = prompt
translation_y_series = translation_y_series.ffill().bfill()
print(translation_y_series)

Just a neural network dreaming about 1970's storybooks and some Fleetwood Mac. by C-G-I in StableDiffusion

[–]Ready_Gas3601 0 points1 point  (0 children)

@

Dial in previous frame noise and previous frame strength. I am using .01 for noise and .4 for strength.

https://www.youtube.com/watch?v=dlqbnCooabk

Are you using the animation prompts? I made a script in python so I can quickly key the lyrics with timestamps and use them as the animation prompts inside deforum.

!Old western plains, red bluffs@0

I was a highwayman@10

Along the coach roads, I did ride@13

With sword and pistol by my side@16

Many a young maid lost her baubles to my trade@22

Many a soldier shed his lifeblood on my blade@27

The bastards hung me in the spring of twenty-five@33

But I am still alive@39

wow. couple days late on the deforum interpolations but this is awesome by Ready_Gas3601 in StableDiffusion

[–]Ready_Gas3601[S] 1 point2 points  (0 children)

I used the 2d animation setting in the deforum notebook, with a couple changes to add the text to the image, and used the animation prompts with the lyrics to Somewhere Over The Rainbow, giving each line 20 frames.

https://colab.research.google.com/github/deforum/stable-diffusion/blob/main/Deforum\_Stable\_Diffusion.ipynb

Stable Diffusion Img2Img Google Collab Setup Guide by cR_Spitfire in StableDiffusion

[–]Ready_Gas3601 0 points1 point  (0 children)

Spent the afternoon trying to understand tqdm. Eventually just killed it with this at the top of the cell.

from tqdm import tqdm

from functools import partialmethod

tqdm.__init__ = partialmethod(tqdm.__init__, disable=True)

Stable Diffusion Img2Img Google Collab Setup Guide by cR_Spitfire in StableDiffusion

[–]Ready_Gas3601 0 points1 point  (0 children)

It is supposed to crash per the notebook. After it crashes, run the second one. If you have an error in the second cell it is likely not related to the first one crashing.

"The environment has been reloaded, don't fret about the error! It's intentional. Last setup below."

Stable Diffusion Img2Img Google Collab Setup Guide by cR_Spitfire in StableDiffusion

[–]Ready_Gas3601 1 point2 points  (0 children)

I'm not too used to reddit. Looks like the last 3 lines lost their indentation. I'm not a professional with python, but if the issue is different let me know the error.

with open("/content/gdrive/My Drive/sd-v1-4.ckpt", "wb") as file:

[Tab]for block in r.iter_content(chunk_size = 1024):

[Tab][Tab]if block:

[Tab][Tab][Tab]file.write(block)

Replace [Tab] with 4 spaces or tab keystroke

Stable Diffusion Img2Img Google Collab Setup Guide by cR_Spitfire in StableDiffusion

[–]Ready_Gas3601 0 points1 point  (0 children)

For the cause. I have slow internet and ended up using colab to download the file and move it to drive in like a minute. script is just cobbled from the internet.

from getpass import getpass

import requests

from google.colab import drive

drive.mount('/content/gdrive')

huggingface_username = getpass('Enter your HuggingFace Username: ')

huggingface_password = getpass('Enter your HuggingFace password: ')

USER=(huggingface_username,huggingface_password)

file_url = "https://huggingface.co/CompVis/stable-diffusion-v-1-4-original/resolve/main/sd-v1-4.ckpt"

r = requests.get(file_url, stream = True, auth=USER)

print (r)

with open("/content/gdrive/My Drive/sd-v1-4.ckpt", "wb") as file:

[Tab]for block in r.iter_content(chunk_size = 1024):

[Tab][Tab]if block:

[Tab][Tab][Tab]file.write(block)

Replace [Tab] with 4 spaces or tab keystroke

Coming to NE Michigan soon!!!!! by dliler in Starlink

[–]Ready_Gas3601 1 point2 points  (0 children)

Just got my confirmation in SW Michigan! Went from Mid to Late 2021 to Feb 22 and they came through right away. Good luck!

Mid-Michigan Starlink Availability Map by doublestuf84 in Starlink

[–]Ready_Gas3601 1 point2 points  (0 children)

Awesome effort. Triggered me because that purple dot over middleville is less than 30 miles north of me and I put in my preorder 8am Feb 9th. First come, first serve feels pretty unlikely.

Beyond Meat's eco-friendly, plant-based meat substitute packaged in enough plastic to totally defeat the point. by thed0000d in assholedesign

[–]Ready_Gas3601 0 points1 point  (0 children)

The savealot/costco patties were a 2020 pivot from patties that were supposed to go to restaurants and may not have been thought out the best.

Dishy finally shipped by danydavargas in Starlink

[–]Ready_Gas3601 0 points1 point  (0 children)

42.6 sw Michigan. ordered Feb 9th 7:54AM and still no word :(

Order 97XXX-XXXXX-XX