stable-diffusion-webui
stable-diffusion-webui copied to clipboard
Allow datasets with only 1 image in Textual Inversion
Had to change the shuffle function as well because somehow indexing numpy arrays with torch tensors of length 1 is a special case.