sdmodels-json

所属分类:内容生成
开发工具:GO
文件大小:0KB
下载次数:0
上传日期:2023-09-20 18:09:35
上 传 者sh-1993
说明:  这是一个使用Go编程语言构建的实用程序项目。它读取包含稳定扩散WebUI中使用的模型名称的文件,categ...,
(This is a utility project built with Go programming language. It reads files containing model names used in Stable Diffusion WebUI, categorizes the models into Lora, Checkpoint, Vae, and Embedding, and outputs the organized data in JSON format.)

文件列表:
LICENSE (1065, 2023-11-30)
entities.go (1887, 2023-11-30)
go.mod (32, 2023-11-30)
main.go (634, 2023-11-30)
methods.go (5330, 2023-11-30)
models.example.txt (528, 2023-11-30)

# sdmodels-json This project uses the Go programming language for categorizing different models like `Lora`, `Checkpoint`, `Vae`, and `Embedding`. It reads the data from the file, categorizes them accordingly and prints them. ## Gopher with a graduation cap Usage To run the program, follow the steps: 1. Place your data file into the directory of the project. Alternatively, you can specify the path to the file while running the program. 2. Open `sdmodels-json.exe` 3. If the file is in the project directory under the name `loras.txt`, the program will use it automatically, else you will be prompted to enter the filename. ### JSON [Example file](https://github.com/ellypaws/sdmodels-json/blob/master/models.example.txt) ```text ____________SAMPLERS____________ euler; euler_ancestral; uni_pc_bh2 ___________SCHEDULERS___________ normal; karras; exponential; sgm_uniform; simple; ddim_uniform _____________VAES_______________ kl-f8-anime2.ckpt; vae-ft-mse-840000-ema-pruned.ckpt ___________CHECKPOINTS__________ modelnamewithoutfolder.ckpt; checkpoint.saftensors; anime\modelname.safetensors; kl-f8-anime2.vae.ckpt; sdxl\768-v-ema.safetensors _____________LORAS______________ lorafilenameNoFolder.safetensors; artist\artistname.safetensors; character\charactername.safetensors ``` 4. After the successful execution of the program, a JSON file named `models.json` containing the categorized data will be generated in the project directory. ## Building Go Gopher climbing a ladder. To build the executable, navigate to the project's directory in the command line and run: `go build .` Please ensure you have [Go SDK 1.21.1](https://github.com/ellypaws/sdmodels-json/blob/master/https://go.dev/) or later installed as the project uses Go programming language version 1.21.1.

近期下载者

相关文件


收藏者