Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use voc dataset error #26

Open
DehaoMeng opened this issue Apr 23, 2024 · 0 comments
Open

use voc dataset error #26

DehaoMeng opened this issue Apr 23, 2024 · 0 comments

Comments

@DehaoMeng
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant