You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue might be as mentioned here: #182 (comment)
You could add the following line in the load_photomaker_adapter() in photomaker/pipeline.py: self.num_tokens =2 if pm_version =='v2'else 1 ## this seems ignore the compatibility with v1
The issue might be as mentioned here: #182 (comment) You could add the following line in the load_photomaker_adapter() in photomaker/pipeline.py: self.num_tokens =2 if pm_version =='v2'else 1 ## this seems ignore the compatibility with v1
The issue might be as mentioned here: #182 (comment) You could add the following line in the load_photomaker_adapter() in photomaker/pipeline.py: self.num_tokens =2 if pm_version =='v2'else 1 ## this seems ignore the compatibility with v1
Thanks but unfortunately I get the same error.
You have to set the args to use v1:
pipe.load_photomaker_adapter(
os.path.dirname(photomaker_path),
subfolder="",
weight_name=os.path.basename(photomaker_path),
trigger_word="img", # define the trigger word
pm_version='v1',
)
The issue might be as mentioned here: #182 (comment) You could add the following line in the load_photomaker_adapter() in photomaker/pipeline.py: self.num_tokens =2 if pm_version =='v2'else 1 ## this seems ignore the compatibility with v1
Thanks but unfortunately I get the same error.
You have to set the args to use v1:
pipe.load_photomaker_adapter(
os.path.dirname(photomaker_path),
subfolder="",
weight_name=os.path.basename(photomaker_path),
trigger_word="img", # define the trigger word
pm_version='v1',
)
Thanks but keep getting the same error. I changed the args as you suggested.
Can anyone help with this error? I used the default setting, didn't change anything.
The text was updated successfully, but these errors were encountered: