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 / 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
@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...')
{
"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,
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
@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
@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 / 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 / upload_hugging_face.ipynb
Created March 13, 2024 21:24
upload_hugging_face.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@FurkanGozukara
FurkanGozukara / 1
Last active June 17, 2024 21:53
B535-232 unlock band and hidden options javascript codes
javascript:spreadName(); monitor=[1,3,5,8,20,28,38,40,41]; mainband=null;_2ndrun=null; suspend=0; function currentBand() {if (suspend==1) return; console.log("Get Signal"); $("#dhcp_mask").show();$("#dhcp_dns").show(); $.ajax({type:"GET",async:true,url:'/api/device/signal', error: function(request,status,error){alert("Signal Error:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error); }, success: function(data){vars=['rssi','rsrp','rsrq','sinr','dlbandwidth','ulbandwidth','band','cell_id','pci','nei_cellid','plmn', 'tac','ulfrequency','dlfrequency',]; for (i=0;i<vars.length;i++) {window[vars[i]]=extractXML(vars[i],data); $('#'+vars[i]).html(window[vars[i]]);} hex = Number(cell_id).toString(16); hex2= hex.substring(0,hex.length-2); enbid = parseInt(hex2, 16).toString(); $('#enbid').html(enbid); hex = Number(cell_id).toString(16); hex2= hex.substring(5,hex.length-0); enbidS = parseInt(hex2, 16).toString(); $('#enbidS').html(enbidS); plmnMC=(plmn.slice(0, 3)); plmnMN=(plmn.slice(-2)); setgra
@FurkanGozukara
FurkanGozukara / requirements_versions.txt
Created August 1, 2024 00:45
requirements_versions.txt
GitPython==3.1.30
Pillow==9.5.0
accelerate==0.18.0
basicsr==1.4.2
blendmodes==2022
clean-fid==0.1.35
einops==0.4.1
fastapi==0.94.0
gfpgan==1.3.8
gradio==3.32.0