wkpark / sd-webui-model-mixer

Checkpoint model mixer/merger extension
GNU Affero General Public License v3.0
96 stars 4 forks source link

Error: 'NoneType' object has no attribute 'strip' #125

Open Enferlain opened 4 months ago

Enferlain commented 4 months ago

Any idea what this is? I used auto merger yesterday, but I don't know what I'm doing differently today

 - loading sd_modelmixer.hyper...
 - set search lower, upper = -0.4 0.4
 - fix request parameter order...
####################  Auto merger using Hyperactive  ####################
 - search_space keys = dict_keys(['model_b.BASE', 'model_b.IN00', 'model_b.IN01', 'model_b.IN02', 'model_b.IN03', 'model_b.IN04', 'model_b.IN05', 'model_b.IN06', 'model_b.IN07', 'model_b.IN08', 'model_b.M00', 'model_b.OUT00', 'model_b.OUT01', 'model_b.OUT02', 'model_b.OUT03', 'model_b.OUT04', 'model_b.OUT05', 'model_b.OUT06', 'model_b.OUT07', 'model_b.OUT08', 'model_c.alpha'])
 - warm_start =  {'model_b.BASE': 0.5, 'model_b.IN00': 0.5, 'model_b.IN01': 0.5, 'model_b.IN02': 0.5, 'model_b.IN03': 0.5, 'model_b.IN04': 0.5, 'model_b.IN05': 0.5, 'model_b.IN06': 0.5, 'model_b.IN07': 0.5, 'model_b.IN08': 0.5, 'model_b.M00': 0.5, 'model_b.OUT00': 0.5, 'model_b.OUT01': 0.5, 'model_b.OUT02': 0.5, 'model_b.OUT03': 0.5, 'model_b.OUT04': 0.5, 'model_b.OUT05': 0.5, 'model_b.OUT06': 0.5, 'model_b.OUT07': 0.5, 'model_b.OUT08': 0.5, 'model_c.alpha': 0.5}
 - search type =  BayesianOptimizer SimulatedAnnealingOptimizer
{'xi': 0.3, 'max_sample_size': 10000000, 'sampling': {'random': 1000000}, 'rand_rest_p': 0.0} {'epsilon': 0.03, 'distribution': 'normal', 'n_neighbours': 3, 'start_temp': 1.0, 'annealing_rate': 0.97}
 - opt_strategy =  <hyperactive.optimizers.strategies.custom_optimization_strategy.CustomOptimizationStrategy object at 0x0000022E096AA170> <class 'hyperactive.optimizers.strategies.custom_optimization_strategy.CustomOptimizationStrategy'>
Error: 'NoneType' object has no attribute 'strip'

The log message just says "Failed to call hyper.run()"

Thought it happened because I added a model C, but I disabled it and I still get the same error :(

Enferlain commented 4 months ago

Was something in the payload. Either an image with lora or some other stuff added to it.

wkpark commented 4 months ago

thank you for your reporting!

Currently, auto merger does not manage/detect all possible conditions, that's why you've got the strange error.