Gourieff / comfyui-reactor-node

Fast and Simple Face Swap Extension Node for ComfyUI
GNU General Public License v3.0
1.47k stars 142 forks source link

[Feature]: load model in advance #327

Open BigPeng opened 4 months ago

BigPeng commented 4 months ago

Feature description

Very good work. Could you extract the loading of the three models of facedetection, face_restore_model, and swap_model and load them in advance, batch processing of images will be much faster.

Gourieff commented 3 months ago

ReActor loads them during the first queue's run and after that all the processing goes very fast