Skip to content

use voc dataset error #26

@DehaoMeng

Description

@DehaoMeng
File "D:\Graduation project\归档\C-Tran-main\run_epoch.py", line 30, in run_epoch
    for batch in tqdm(data,mininterval=0.5,desc=desc,leave=True,ncols=50):
RuntimeError:
        An attempt has been made to start a new process before the
            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.

The above error occurs when I use this code to execute this program

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions