RuntimeError
Shadow2121 opened this issue · 0 comments
Shadow2121 commented
When I run the command python ./datasets/combine_A_and_B.py --fold_A D:/SSIP/HLA_Face_Code/train_code/dataset/DarkFace/images_enhanced_denoise/ --fold_B D:/SSIP/HLA_Face_Code/train_code/dataset/DarkFace/images_enhanced/ --fold_AB ./datasets/DARKFACE_pix2pix_train
it's giving me
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.
can any one help?
Or anyone can explain what this command do?