merge-models icon indicating copy to clipboard operation
merge-models copied to clipboard

Broken like 99% of github

Open Blazeolmo opened this issue 3 years ago • 5 comments

I followed the process as i was told and the specified path couldn't be found.

Blazeolmo avatar Nov 21 '22 17:11 Blazeolmo

image

Greetings. I tried it myself and it worked for me.

Name your 2 models as shown in the picture. model0 and model1. Erase their original extensions (ckpt). then open command prompt as administrator (just in case). Go to the directory with the unpacked zip project. (in my case it is: cd /d F:\GitHub\merge-models) and enter the command as shown by the author in the instructions (py merge.py model0 model1 --alpha 0.5 --output merged) . Ready. I ended up with a model called: merged-50.ckpt

Flamedragonz avatar Nov 22 '22 07:11 Flamedragonz

I followed the process as i was told and the specified path couldn't be found.

I left a comment above

Flamedragonz avatar Nov 22 '22 08:11 Flamedragonz

This is the error message you'll get if you are missing some python modules that the program requires. To fix this issue, please run these commands one after the other to install the necessary libraries: pip install torch pip install tqdm pip install numpy

LAwLzaWU1A avatar Dec 18 '22 10:12 LAwLzaWU1A

This is the error message you'll get if you are missing some python modules that the program requires. To fix this issue, please run these commands one after the other to install the necessary libraries: pip install torch pip install tqdm pip install numpy

If you are using AMD hardware you will need the directml version of torch too.

AraHaan avatar Jun 22 '23 12:06 AraHaan

image

Greetings. I tried it myself and it worked for me.

Name your 2 models as shown in the picture. model0 and model1. Erase their original extensions (ckpt). then open command prompt as administrator (just in case). Go to the directory with the unpacked zip project. (in my case it is: cd /d F:\GitHub\merge-models) and enter the command as shown by the author in the instructions (py merge.py model0 model1 --alpha 0.5 --output merged) . Ready. I ended up with a model called: merged-50.ckpt

I do not have my models named with the extension ckpt, they are named safetensors.

AraHaan avatar Jun 22 '23 12:06 AraHaan