use voc dataset error
Opened this issue · 0 comments
DehaoMeng commented
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