Text-to-Image
Diffusers
English
stable-diffusion
stable-diffusion-diffusers
art
artistic
cs:go
topview
map generator
layout
layout generator
map
csgo
improved layout
radar
Instructions to use Kaludi/CSGO-Minimap-Layout-Generation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Kaludi/CSGO-Minimap-Layout-Generation with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Kaludi/CSGO-Minimap-Layout-Generation", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
CSGO MiniMap Layout Generation Model
Browse files- README.md +78 -0
- csgoMiniMapLayoutsV2.ckpt +3 -0
README.md
CHANGED
|
@@ -1,3 +1,81 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
license: creativeml-openrail-m
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
tags:
|
| 5 |
+
- stable-diffusion
|
| 6 |
+
- stable-diffusion-diffusers
|
| 7 |
+
- text-to-image
|
| 8 |
+
- art
|
| 9 |
+
- artistic
|
| 10 |
+
- diffusers
|
| 11 |
+
- cs:go
|
| 12 |
+
- topview
|
| 13 |
+
- map generator
|
| 14 |
+
- layout
|
| 15 |
+
- layout generator
|
| 16 |
+
- map
|
| 17 |
+
- csgo
|
| 18 |
+
- improved layout
|
| 19 |
+
- radar
|
| 20 |
+
inference: true
|
| 21 |
license: creativeml-openrail-m
|
| 22 |
---
|
| 23 |
+
|
| 24 |
+
# CSGO Minimap Layout Generation
|
| 25 |
+
|
| 26 |
+

|
| 27 |
+
|
| 28 |
+
This is an improved AI model of my [**previous**](https://civitai.com/models/4851/csgo-top-view-map-layout-generator) model trained on CS:GO's radar top view images of many maps which can now produce custom map layouts in seconds. This model does not produce red or green boxes like in my previous model. The tag for this model is **"radar-topview"**. If you'd like to get a map layout similar to a specific map, you can add the map name before "radar-topview". So if I wanted a map generation similar to dust2, I would write **"dust2-radar-topview"**.
|
| 29 |
+
|
| 30 |
+
**Try the following prompt to get the best results:**
|
| 31 |
+
"fps radar-topview game map, flat shading, soft shadows, global illumination"
|
| 32 |
+
"fps radar topview map, polygonal, gradient background, pastel colors, soft shadows, global illumination, straight lines, insanely detailed"
|
| 33 |
+
|
| 34 |
+
**Map Radar Topviews this AI was trained on:**
|
| 35 |
+
de_dust2
|
| 36 |
+
de_inferno
|
| 37 |
+
de_nuke
|
| 38 |
+
de_mirage
|
| 39 |
+
de_cache
|
| 40 |
+
de_train
|
| 41 |
+
de_cobblestone
|
| 42 |
+
de_castle
|
| 43 |
+
de_overpass
|
| 44 |
+
|
| 45 |
+
**Have fun generating map layouts!**
|
| 46 |
+
|
| 47 |
+
### CompVis
|
| 48 |
+
|
| 49 |
+
[Download csgoTopViewMapLayout.ckpt) (2.9GB)](https://huggingface.co/)
|
| 50 |
+
|
| 51 |
+
### 🧨 Diffusers
|
| 52 |
+
|
| 53 |
+
This model can be used just like any other Stable Diffusion model. For more information,
|
| 54 |
+
please have a look at the [Stable Diffusion Pipeline](https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion).
|
| 55 |
+
|
| 56 |
+
```python
|
| 57 |
+
from diffusers import StableDiffusionPipeline, DPMSolverMultistepScheduler
|
| 58 |
+
import torch
|
| 59 |
+
|
| 60 |
+
prompt = (
|
| 61 |
+
"fps radar-topview game map, flat shading, soft shadows, global illumination")
|
| 62 |
+
|
| 63 |
+
model_id = "Kaludi/CSGO-Improved-Radar-Top-View-Map-Layouts"
|
| 64 |
+
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
|
| 65 |
+
pipe.scheduler = DPMSolverMultistepScheduler.from_config(pipe.scheduler.config)
|
| 66 |
+
pipe = pipe.to("cuda")
|
| 67 |
+
|
| 68 |
+
image = pipe(prompt, num_inference_steps=30).images[0]
|
| 69 |
+
|
| 70 |
+
image.save("./result.jpg")
|
| 71 |
+
```
|
| 72 |
+
|
| 73 |
+
## License
|
| 74 |
+
|
| 75 |
+
This model is open access and available to all, with a CreativeML OpenRAIL-M license further specifying rights and usage.
|
| 76 |
+
The CreativeML OpenRAIL License specifies:
|
| 77 |
+
|
| 78 |
+
1. You can't use the model to deliberately produce nor share illegal or harmful outputs or content
|
| 79 |
+
2. The authors claims no rights on the outputs you generate, you are free to use them and are accountable for their use which must not go against the provisions set in the license
|
| 80 |
+
3. You may re-distribute the weights and use the model commercially and/or as a service. If you do, please be aware you have to include the same use restrictions as the ones in the license and share a copy of the CreativeML OpenRAIL-M to all your users (please read the license entirely and carefully)
|
| 81 |
+
[Please read the full license here](https://huggingface.co/spaces/CompVis/stable-diffusion-license)
|
csgoMiniMapLayoutsV2.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:20fcea1291ad5f8dfbdfae553267b0b4113d849affae4dfb0691e1233dd1eeaa
|
| 3 |
+
size 2132884518
|