Closed jinzishuai closed 3 years ago
sure, I would be happy to do that but that would be a separate PR since this one is just about the CPU support.
Thanks for your contribution.
Are you able to modify it so that num_workers is not hardcoded in the file? Make it a command line argument
--num-workers
after line 56. Set its default to 0, but allow people to change it.If you don't have time, I will make the change myself later.
@PeterL1n this is the PR https://github.com/PeterL1n/BackgroundMattingV2/pull/28. please review. thanks.
Merged the other pull request. I am closing this one.
Thanks for your contribution.
Are you able to modify it so that num_workers is not hardcoded in the file? Make it a command line argument
--num-workers
after line 56. Set its default to 0, but allow people to change it.If you don't have time, I will make the change myself later.