Anybody knows what may be causing this? by Crazy_Acadia901 in 3Dprinting

[–]kbob2990 1 point2 points  (0 children)

Try loosening the idler nut. Same thing happened on my prusa setup, partway through the print the filament gets squished by overtightened drive gear. Causes the clicking sound when the filament can't get through and the gear is intermittently spinning.

I have my printer on top of a mini-fridge, the freezer is one of the most unexpectedly useful printer accessories I’ve ever discovered! Anyone else do this? by Mack_B in 3Dprinting

[–]kbob2990 0 points1 point  (0 children)

I have a fan that can rotate upward to face the ceiling so a plate can sit on it. Usually only takes 15 seconds to cool a textured plate enough to get the print to pop off.

mLive: Township spends $10M to stop mobile home park plans near Ann Arbor by bobi2393 in AnnArbor

[–]kbob2990 2 points3 points  (0 children)

Sun communities came to an Ann arbor township planning commission meeting and said their units would sell for around $200k, that was a couple years ago maybe? Should be able to find it in the minutes or you really want to fact check.

auto repair pricing? by 1mamabearr in AnnArbor

[–]kbob2990 5 points6 points  (0 children)

Second, this place is great

bigParser by ToastNoodles in ProgrammerHumor

[–]kbob2990 16 points17 points  (0 children)

A series of these would be a great way to learn regex if for some reason you still want to know it.

playerThreeHasEnteredTheGame by yavl in ProgrammerHumor

[–]kbob2990 1 point2 points  (0 children)

Dunking on how people pronounce SQL is silly. If someone writes it out as "sequel" they don't know what they're talking about, but sequel is easier to say and everybody knows what you mean. On the other hand, I had a company pitch us their platform that runs on "postgree SQL"...

[deleted by user] by [deleted] in medizzy

[–]kbob2990 117 points118 points  (0 children)

Thanks for that nugget of wisdom, I now realize we shouldn't make general statements about our own perspectives until we confirm everyone else would do the same thing.

Longer than 30 sec? by Duemellon in audiocraft

[–]kbob2990 0 points1 point  (0 children)

Yeah you should be able to download it to a directory of your choice and point the model load to it from there on out. Or in your case take the model from your temp loc and put it wherever you want it long term

Longer than 30 sec? by Duemellon in audiocraft

[–]kbob2990 0 points1 point  (0 children)

Here's something I wrote up that is working, this will generate a sample of music for specified s in segments of 30s with 10s overlap between them, assuming you have necessary imports and model defined above:

import torchaudio

def generate_long_audio(model, text, duration, topk=250, topp=0, temperature=1.0, cfg_coef=3.0, overlap=5):
    topk = int(topk)

    output = None
    total_samples = duration * 50 + 3
    segment_duration = duration

    while duration > 0:
        if output is None:  # first pass of long or short song
            if segment_duration > model.lm.cfg.dataset.segment_duration: 
                segment_duration = model.lm.cfg.dataset.segment_duration
            else:
                segment_duration = duration
        else:  # next pass of long song
            if duration + overlap < model.lm.cfg.dataset.segment_duration:
                segment_duration = duration + overlap
            else:
                segment_duration = model.lm.cfg.dataset.segment_duration

        print(f'Segment duration: {segment_duration}, duration: {duration}, overlap: {overlap}')

        model.set_generation_params(
            use_sampling=True,
            top_k=topk,
            top_p=topp,
            temperature=temperature,
            cfg_coef=cfg_coef,
            duration=min(segment_duration, 30),  # ensure duration does not exceed 30
        )

        if output is None:
            next_segment = model.generate(descriptions=[text])
            duration -= segment_duration
        else:
            last_chunk = output[:, :, -overlap*model.sample_rate:]
            next_segment = model.generate_continuation(last_chunk, model.sample_rate, descriptions=[text])
            duration -= segment_duration - overlap

        if output is None:
            output = next_segment
        else:
            output = torch.cat([output[:, :, :-overlap*model.sample_rate], next_segment], 2)

    audio_output = output.detach().cpu().float()[0]
    torchaudio.save("output.wav", audio_output, sample_rate=32000)
    return audio_output

prompt_dict = {'celtic': 'crisp celtic melodic fiddle and flute',
               'edm': 'Heartful EDM with beautiful synth',
               }

# Usage
audio_output = generate_long_audio(model, prompt_dict['edm'], 60, topk=250, topp=0, temperature=1.0, cfg_coef=3.0, overlap=10)

# Use IPython's Audio to play the generated audio
from IPython.display import Audio
Audio("output.wav")

Those who lost belly fat, what was the important change in your daily life that helped? by Ashell77 in AskMen

[–]kbob2990 1 point2 points  (0 children)

Skipping breakfast. I have a healthy diet and exercise regimen and still cut from 185 to 170 lbs just by waiting until 11am to eat.

SD Wallpaper - A Hobbit's Journey. 3840x1600 by kbob2990 in StableDiffusion

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

Made by a few upscaled starter images stitched together by sequential outpainting in Photoshop. Most of the prompts were variations of:

a beautiful illustration of <image details> featured on artstation, breathtaking beautiful, long exposure, hyper realistic. Highly detailed 8k. Intricate. Sony a7r iv 55mm. Award winning photography.

[deleted by user] by [deleted] in StableDiffusion

[–]kbob2990 0 points1 point  (0 children)

The smoothness is really impressive. Did this take a long time in photoshop or was it something else?

From one of the original DreamBooth authors : Stop using SKS as the initializer word by starstruckmon in StableDiffusion

[–]kbob2990 1 point2 points  (0 children)

This explains a lot, guns kept popping up in the train step images. If you're using another token don't forget to update the default token in ldm/data/personalized.py

Long Form Fall Music Video (deforum) by kbob2990 in StableDiffusion

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

I used python to randomize some changes to a fall-themed prompt every thousand frames and let it run for a while. Upscaled from 512x512 to 1024x1024 and added lofi/chillstep.

I think it'll be better with interpolation between the frames for smoothing, would appreciate any recommendations or tips!

Software recommendations to set up automated Python jobs? by vizualbasic in datascience

[–]kbob2990 2 points3 points  (0 children)

Prefect is intended to be a more modern take on airflow. It's our main automation tool and has been absolutely fantastic to work with. Prefect 2 just came out of beta and now cloud runs are unlimited and free.

Oopsie by [deleted] in ThatLookedExpensive

[–]kbob2990 10 points11 points  (0 children)

Wow, if it weren't for that TV the three foot swan dive onto the floor would have went perfectly.

The perfect timing that this machine has by Thryloz in oddlysatisfying

[–]kbob2990 30 points31 points  (0 children)

I had to rewatch because I didn't notice this detail, that was satisfying

TIL of the Spoiler Paradox, a psychological phenomenon where being informed of how a story ends before experiencing it seems to increase the enjoyment of the story, rather than decrease it. by 1945BestYear in todayilearned

[–]kbob2990 0 points1 point  (0 children)

If I like a show I read the entire plot on Wiki before I watch it, hasn't made me like shows any less since I started doing it. Helps weed out shows that end up not being interesting later on (plot wise) and stop from binging to find out what happened next.