yfzhang114 / LLaVA-Align

This is the official repo for Debiasing Large Visual Language Models, including a Post-Hoc debias method and Visual Debias Decoding strategy.
Apache License 2.0
71 stars 2 forks source link

Why does running code take so long #7

Closed suiyize closed 4 months ago

suiyize commented 4 months ago

Great job! But I have a question. Why, when my process performs the following two import operations, it often takes a lot of time and memory resources.

from gen.clip_guided import generate_w_clip from gen.rsp_sampling import rsp_sampling

yfzhang114 commented 4 months ago

where is the code from?