Page 1 of 1

Not enough RAM to perform linkage clustering. Using vector clustering. This will be significantly slower.

Posted: Wed Nov 24, 2021 4:15 pm
by cloud7556

11/24/2021 16:53:03 WARNING Not enough RAM to perform linkage clustering. Using vector clustering. This will be significantly slower. Free RAM: 8373MB. Required for linkage method: 700884MB

I tried to sort 200000 face images, but the system prompts that RAM is not enough. I know that if I wait all the time, the sorting will succeed, but is there a faster setting? Obviously, this RAM is far beyond the capacity of my computer.
Previously, I used AMD GPU to run faceswap, and recently changed to NVIDIA.


Re: Not enough RAM to perform linkage clustering. Using vector clustering. This will be significantly slower.

Posted: Wed Nov 24, 2021 4:50 pm
by bryanlyon

Like it says, to use the faster clustering with that many images you'd need more than 700gb of RAM. It uses exponential amounts of RAM to cluster based on how many images you have. You can split it to subses of 50k images to sort it in 4 packs if you want to use the faster method.


Re: Not enough RAM to perform linkage clustering. Using vector clustering. This will be significantly slower.

Posted: Wed Nov 24, 2021 5:00 pm
by cloud7556
bryanlyon wrote: Wed Nov 24, 2021 4:50 pm

Like it says, to use the faster clustering with that many images you'd need more than 700gb of RAM. It uses exponential amounts of RAM to cluster based on how many images you have. You can split it to subses of 50k images to sort it in 4 packs if you want to use the faster method.

thank you! I got it!

Another question, I feel that the sorting speed of NVIDIA is not significantly improved compared with AMD. Is this normal? My CUDA has been running normally, but at present, faceswap has the following warnings. What are the negative effects?

11/24/2021 13:13:37 WARNING Limited tf.compat.v2.summary API due to missing TensorBoard installation.
11/24/2021 13:13:37 WARNING Limited tf.compat.v2.summary API due to missing TensorBoard installation.
11/24/2021 13:13:37 WARNING Limited tf.compat.v2.summary API due to missing TensorBoard installation.
11/24/2021 13:13:37 WARNING Limited tf.summary API due to missing TensorBoard installation.