Skip to content

Instantly share code, notes, and snippets.

View FurkanGozukara's full-sized avatar

Furkan Gözükara FurkanGozukara

View GitHub Profile
@FurkanGozukara
FurkanGozukara / upload_hugging_face.ipynb
Created March 13, 2024 21:24
upload_hugging_face.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@FurkanGozukara
FurkanGozukara / paint .net save error
Created January 17, 2024 22:23
paint .net save error
Exception:
System.AggregateException: One or more errors occurred. (location = FrameSetSize) (location = UnhandledEncodeError)
---> PaintDotNet.Data.WicEncodeException: location = FrameSetSize
---> PaintDotNet.Imaging.ImageSizeOutOfRangeException (0x88982F51): Exception of type 'PaintDotNet.Imaging.ImageSizeOutOfRangeException' was thrown. (ImagingError.ImageSizeOutOfRange 0x88982F51)
at PaintDotNet.Interop.ExceptionFactory.ThrowError(Int32 hr, String message, Exception innerEx) in D:\src\pdn\src_4_3_x\Windows\Interop\ExceptionFactory.cs:line 54
at PaintDotNet.Imaging.WICBitmapFrameEncode.SetSize(SizeInt32 size) in D:\src\pdn\src_4_3_x\Windows\Imaging\WICBitmapFrameEncode.cs:line 138
at PaintDotNet.Data.WicEncoder.Try(WicEncodeLocation location, Action action) in D:\src\pdn\src_4_3_x\PaintDotNet\Data\WicEncoder.cs:line 326
--- End of inner exception stack trace ---
at PaintDotNet.Data.WicEncoder.Try(WicEncodeLocation location, Action action) in D:\src\pdn\src_4_3_x\PaintDotNet\Data\WicEncode
@FurkanGozukara
FurkanGozukara / config.json
Created January 10, 2024 01:55
config.json
{
"last_node_id": 193,
"last_link_id": 402,
"nodes": [
{
"id": 36,
"type": "LoadImage",
"pos": [
34,
-6
@FurkanGozukara
FurkanGozukara / from PokemonPets game
Created September 29, 2023 15:21
Pokemon list not drawn by Nintendo
Goog question. we dont have that filter atm but there the list for you. there could be some errors let me know
Pidgeot-Super 4005 https://www.pokemonpets.com/Pidgeot-Super-Pokemon-Pokedex-4005
Charizard-Bony 4006 https://www.pokemonpets.com/Charizard-Bony-Pokemon-Pokedex-4006
Rattata-Lightning 4019 https://www.pokemonpets.com/Rattata-Lightning-Pokemon-Pokedex-4019
Mega-Shaymin-Sky 4031 https://www.pokemonpets.com/Mega-Shaymin-Sky-Pokemon-Pokedex-4031
Pikachu-Lightning 4039 https://www.pokemonpets.com/Pikachu-Lightning-Pokemon-Pokedex-4039
Darmanitan-Zen 4050 https://www.pokemonpets.com/Darmanitan-Zen-Pokemon-Pokedex-4050
Growlithe-Sabertooth 4058 https://www.pokemonpets.com/Growlithe-Sabertooth-Pokemon-Pokedex-4058
Arcanine-Sabertooth 4059 https://www.pokemonpets.com/Arcanine-Sabertooth-Pokemon-Pokedex-4059
absl-py==1.4.0
addict==2.4.0
aiohttp==3.8.5
aiosignal==1.3.1
alabaster==0.7.13
albumentations==1.3.1
altair==4.2.2
annotated-types==0.5.0
anyio==3.7.1
appdirs==1.4.4
{
"LoRA_type": "Standard",
"adaptive_noise_scale": 0,
"additional_parameters": "",
"block_alphas": "",
"block_dims": "",
"block_lr_zero_threshold": "",
"bucket_no_upscale": true,
"bucket_reso_steps": 64,
"cache_latents": true,
@FurkanGozukara
FurkanGozukara / relauncher.py
Created August 9, 2023 11:11
fixed relauncher.py
import os
import time
def relaunch_process(launch_counter=0):
'''
'''
while launch_counter < 1:
print('Relauncher: Launching...')
@FurkanGozukara
FurkanGozukara / train_dreambooth.py
Last active July 29, 2023 20:56
dreambooth_fixed.py
import argparse
import hashlib
import itertools
import random
import json
import logging
import math
import os
from contextlib import nullcontext
from pathlib import Path
parameters
handsome portrait photo of (ohwx man:1.1) wearing a Gray fancy expensive suit <lora:test6-000005:1>
Negative prompt: (blue eyes, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime:1.4), fat, text, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck
Steps: 30, Sampler: DPM++ SDE Karras, CFG scale: 5, Seed: 1117571876, Size: 640x720, Model hash: c0d1994c73, Model: realisticVisionV20_v20
I changed the Gray color with other colors like red blue yellow etc.
@FurkanGozukara
FurkanGozukara / 0 tutorial.txt
Last active July 25, 2023 17:51
How to use databricks/dolly-v2-12b tutorial
databricks/dolly-v2-12b model : https://huggingface.co/databricks/dolly-v2-12b
python 3.10.6 download link : https://www.python.org/ftp/python/3.10.6/python-3.10.6-amd64.exe
install it into your C drive directly better - make sure to add path
git download link : https://git-scm.com/downloads
git large download link : https://git-lfs.com/