ali-vilab / AnyDoor

Official implementations for paper: Anydoor: zero-shot object-level image customization
https://ali-vilab.github.io/AnyDoor-Page/
MIT License
4.01k stars 365 forks source link

Decrease inference time #40

Open Eddudos opened 11 months ago

Eddudos commented 11 months ago

Currently I'm testing your project on TryOn datasets and it executes inference_single_image() function for 20-40 seconds depending on the GPU I use.
What are the ways I can decrease the inference time?

XavierCHEN34 commented 11 months ago

may be you could try the pruned model Pruned model: https://modelscope.cn/models/bdsqlsz/AnyDoor-Pruned/summary

Gooddz1 commented 6 months ago

may be you could try the pruned model Pruned model: https://modelscope.cn/models/bdsqlsz/AnyDoor-Pruned/summary

How do I need to modify the configuration file to use Anytool's pruned version of the model when downloading it?