@@ -137,7 +138,7 @@ class SDClipModel(torch.nn.Module, ClipTokenWeightEncoder):
tokens_temp+=[next_new_token]
next_new_token+=1
else:
print("WARNING: shape mismatch when trying to apply embedding, embedding will be ignored",y.shape[0],current_embeds.weight.shape[1])
logging.warning("WARNING: shape mismatch when trying to apply embedding, embedding will be ignored {} != {}".format(y.shape[0],current_embeds.weight.shape[1]))