jhc13 / taggui

Tag manager and captioner for image datasets
GNU General Public License v3.0
762 stars 36 forks source link

Unknown Model Download Location #283

Closed ArmadstheDoom closed 3 weeks ago

ArmadstheDoom commented 2 months ago

So I downloaded the repository, but obviously the models do not come with it. The models download, but WHERE they have downloaded on my harddrive, I do not know. I do not know, because there is nowhere to tell this program where to download them to. So somewhere on my harddrive are 15 different 5gb model files that downloaded when I clicked 'start autocaption.'

Furthermore, despite deleting the folders and starting fresh, it remembered where my previous image folder was, which should be impossible. That means that it's downloading or at least pulling from, somewhere that's not simply the git repo that is generated when you clone the repo.

Some answers would be very nice and forthcoming, because I very much hate when things are just downloading in set locations that are not told to the user, and I do not even know what the file names are so I have no idea what to even search for.

why you haven't compiled this into a workable executeable and set the models in a folder inside the repo, I have no idea. But I would very much like to know what your program is programmed to do.

jhc13 commented 2 months ago

See #124.

pterrien commented 1 month ago

@ArmadstheDoom: I just posted a more detailed answer if this issue is still relevant (or if others encounter it): see link. On Windows more specifically, here is a detailed howto. Just use HF_HOME as the variable name, and the new cache location as variable value (and probably logout from your session). Edit: and before launching TagGUI, move the content of C:\Users\(your username)\.cache\huggingface to this new location, or just delete it, to actually save some disk space on your C: drive.