Open PawtingDev opened 10 months ago
I also have the same problem. I failed to figure it out, so I just modify the code to process the data case by case using only one progress.
for sub in tqdm(subjects): visibility_subject( subject=sub, dataset=args.dataset, save_folder=current_out_dir, rotation=args.num_views, debug=args.debug, )
I followed instructions in dataset.md to process THuman2.0. Rendering phase works fine using
python -m scripts.render_batch -debug -headless
. However, running visibility phase usingpython -m scripts.visibility_batch -debug
failed:I'm not familiar with muiltiprocessing, maybe it's related to operating
.to(device)
in subprocesses?I've tried suggestion here to force 'spawn' as start method, it wont work: