Downloads · 30 days
23
4% of all-time downloads
lyraaaa/flux_geoguessr_v1
flux_geoguessr_v1 is a text-to-image model from lyraaaa. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as cc.
https://x.com/lyraaaa/status/1841762752404369745
Downloads · 30 days
23
4% of all-time downloads
All-time downloads
557
Public
Repo size
366 MB
Likes
6
Public
Click a slice to open those files.
.safetensors344 MB · 97%
From the Hugging Face model README
https://x.com/_lyraaaa_/status/1841762752404369745
rank 32, trained for 3500 steps on over 200 labeled locations. trigger word ("geoguessr") not always necessary, just name a location
known model biases:
geoguessr_v2 with a much larger dataset and less location bias will be out eventually.
since i do not own the data for this model, i can't really claim ownership of the model itself either. have fun!
run this with diffusers:
import torch
from diffusers import FluxPipeline
import time
import random
# initialize pipeline and lora
pipe = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16).to("cuda")
lora_weight = 0.8
pipe.load_lora_weights(
'/workspace/geoguessr_v1_000003500.safetensors',
adapter_name='geoguessr_v1'
)
pipe.set_adapters('geoguessr_v1', adapter_weights=[lora_weight])
# set params and generate
seed = -1
seed = seed if seed != -1 else random.randint(0, 2**32)
print(seed)
prompt = "sweden, snow"
out = pipe(
prompt=prompt,
guidance_scale=4,
height=624,
width=960,
num_inference_steps=40,
generator=torch.Generator("cuda").manual_seed(seed),
).images[0]
# save and display output
filename=f"{time.time()}.png"
out.save(filename)
from IPython.display import Image, display
display(Image(filename=filename))
<Gallery />
trained with https://github.com/ostris/ai-toolkit/blob/main/notebooks/FLUX_1_dev_LoRA_Training.ipynb
this model is a part of my much larger desterilizer project- a bit more here https://x.com/_lyraaaa_/status/1824003678086590646