I have a image generator which samples a few fairly large datasets (around 10K words per category).

The user selects a dataset , from which a word is randomly selected.

As such , I only need to load the dataset which is currently selected.

I’d like for the other datasets to be un-loaded until the user selects them.

Is there a way to do this?

Or , can this problem be resolved by other means?

  • @[email protected]OP
    link
    fedilink
    English
    2
    edit-2
    3 months ago

    Wow! Thank you so much ❤️! I’ll make great use of this.

    The best datasets are usually very large. I’ve already split the datasets I’m using into smaller generators.

    In total , I have 38 generators prepared with 10K unique words in each, a generator with 29K unique names , a 15K word generator for prepositions , plus the 5 separate generators for 47K CLIP tokens.

    I’ve had to prioritize which ones to load before , but this feature open up a bunch of new options.

    I’m looking forward to testing it out ( ; v ;)b!

    EDIT : Here’s the first generator I made with the dynamic-imports plugin : https://perchance.org/fusion-t2i-names

      • @[email protected]OP
        link
        fedilink
        English
        2
        edit-2
        3 months ago

        Duly noted. And I totally agree.

        I will use the original text-to-image plugin for the public version , to avoid future troubles.

        EDIT : Done