Skip to content

Error while running l1-norm-pruning on Windows machine #57

@mitrapallavi11

Description

@mitrapallavi11

Hi,

I am trying to run the code for l1-norm-pruning on windows machine. But I am getting an error due to multiprocessing failure as follows:

RuntimeError:
An attempt has been made to start a new process before the
current process has finished its bootstrapping phase.

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.

Any solution how to mitigate that error?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions