ChatterBot icon indicating copy to clipboard operation
ChatterBot copied to clipboard

UbuntuCorpus Multiprocessing Error?

Open BambooOnFire opened this issue 4 years ago • 2 comments

BambooOnFire avatar Jun 29 '21 00:06 BambooOnFire

This probably means that you are not using fork to start your
    child processes and you have forgotten to use the proper idiom
    in the main module:

        if __name__ == '__main__':
            freeze_support()
            ...

    The "freeze_support()" line can be omitted if the program
    is not going to be frozen to produce an executable.

I always get this error when I try to train the bot. I think downloading and unpacking the massive corpus data is fine.

BambooOnFire avatar Jun 29 '21 00:06 BambooOnFire

I have an additional question. I have like 8000 small yml files that I would like to train. Training them works fine but it takes a long time. Is there a way to integrate multi-processing with the training function of ChatterBot?

BambooOnFire avatar Jul 12 '21 04:07 BambooOnFire