pytorch-vdsr icon indicating copy to clipboard operation
pytorch-vdsr copied to clipboard

Default threads argument value will cause issues when running with Pytorch Windows

Open ishmael1985 opened this issue 6 years ago • 1 comments

According to this:

https://github.com/peterjc123/pytorch-scripts

in the Using Examples section.

If you set --threads=0 manually instead of the default opt.threads=1 value, the issue will be resolved by forcing the data to be loaded into the main process, however I am not sure how it will affect #9.

ishmael1985 avatar Feb 24 '18 14:02 ishmael1985

Yes, adding --threads=0 can solve that problem, thanks

risingsun1412 avatar Jun 05 '21 07:06 risingsun1412