SD1.5 ControlLora weights have a different amount of weights to them, so the previous code that assumed 10 layers would run into IndexError due to these ControlLora having 13. I will need to generalize code to properly match this amount of layers, but for now I added a quick fix to return weight 1.0 when index is out of bounds.
SD1.5 ControlLora weights have a different amount of weights to them, so the previous code that assumed 10 layers would run into IndexError due to these ControlLora having 13. I will need to generalize code to properly match this amount of layers, but for now I added a quick fix to return weight 1.0 when index is out of bounds.