Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to eliminate this warning? #4

Open
zhousaYolo opened this issue May 30, 2020 · 3 comments
Open

How to eliminate this warning? #4

zhousaYolo opened this issue May 30, 2020 · 3 comments

Comments

@zhousaYolo
Copy link

WRN MultiProcessRunner does support Windows. However, Windows requires more strict picklability on processes, which may lead of failure on some of the code.

@610265158
Copy link
Owner

yes,

windows cannot run these code, for multiprocess reasons

@zhousaYolo
Copy link
Author

Thanks, but I don't use mulprocess, and then I can train.
ds = DataFromGenerator(self.generator)
if cfg.DATA.mutiscale and self.training_flag:
ds = MutiScaleBatcher(ds, self.num_gpu * self.batch_size, scale_range=cfg.DATA.scales,
input_size=(cfg.DATA.hin, cfg.DATA.win))
else:
ds = MutiScaleBatcher(ds, self.num_gpu * self.batch_size, input_size=(cfg.DATA.hin, cfg.DATA.win))
# ds = MultiProcessPrefetchData(ds, self.prefetch_size, self.process_num)
# ds.reset_state()
ds = ds.get_data()
return ds

@610265158
Copy link
Owner

I thought if you can run the code, then just ignore the warning

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants