stable-diffusion-webui
stable-diffusion-webui copied to clipboard
[Bug]: API hypernetwork not work
Is there an existing issue for this?
- [X] I have searched the existing issues and checked the recent builds/commits
What happened?
Request to /sdapi/v1/train/hypernetwork
{ "id_task": 1, "hypernetwork_name": "test", "learn_rate": 0.0005, "batch_size": 1, "gradient_step": 1, "data_root": "D:\\download\\sd_webui\\resize", "log_directory": "textual_inversion", "training_width": 512, "training_height": 512, "varsize": false, "steps": 10, "clip_grad_mode": "disabled", "clip_grad_value": 0.1, "shuffle_tags": false, "tag_drop_out": 0.1, "latent_sampling_method": "once", "use_weight": false, "create_image_every": 0, "save_hypernetwork_every": 0, "template_filename": "subject_filewords.txt", "preview_from_txt2img": false, "preview_prompt": "", "preview_negative_prompt": "", "preview_steps": 20, "preview_sampler_index": "Heun", "preview_cfg_scale": 7.0, "preview_seed": 0, "preview_width": 512, "preview_height": 512 }
Server response code 200
{ "info": "train embedding complete: filename: error: 'float' object has no attribute 'split'" }
Steps to reproduce the problem
- Go to http://127.0.0.1:7860/docs#/default/train_hypernetwork_sdapi_v1_train_hypernetwork_post
- Press Try out
- Insert request and execute
What should have happened?
Train hypernetwork
Commit where the problem happens
226d840e
What platforms do you use to access the UI ?
Windows
What browsers do you use to access the UI ?
Mozilla Firefox
Command Line Arguments
--api --api-log
List of extensions
no
Console logs
API 2023-02-20 17:54:34.223009 200 http/1.1 POST /sdapi/v1/train/hypernetwork 127.0.0.1 0.4569
Additional information
No response