C-Tran icon indicating copy to clipboard operation
C-Tran copied to clipboard

use voc dataset error

Open DehaoMeng opened this issue 1 year ago • 0 comments

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

DehaoMeng avatar Apr 23 '24 09:04 DehaoMeng