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

pyradiomicsbatch multiprocessing #282

Closed
sohrabtowfighi opened this issue Aug 2, 2017 · 4 comments
Closed

pyradiomicsbatch multiprocessing #282

sohrabtowfighi opened this issue Aug 2, 2017 · 4 comments
Assignees

Comments

@sohrabtowfighi
Copy link

Can an argument be added (eg 'n_jobs=-1' for all cores) to pyradiomicsbatch which uses multiprocessing to distribute the computations across cores?

@pieper
Copy link
Contributor

pieper commented Aug 2, 2017

We've discussed parallelism but generally consider it should be handled at a higher level of abstraction. For example if you run a big set of jobs on a cluster you would use the job queuing system to manage job allocation.

@sohrabtowfighi
Copy link
Author

Isn't that the purpose of pyradiomicsbatch

@fedorov
Copy link
Collaborator

fedorov commented Aug 2, 2017

The specific meaning of batch that we had in mind is to support processing of multiple datasets in one run, not to distribute that processing across computational resources.

@JoostJM
Copy link
Collaborator

JoostJM commented Aug 14, 2017

@pieper, the parallelisation we discussed can indeed be applied in a batch (i.e. one patient, one core). We've been working with a specialised script that does this, but it was optimized for our dataset. I'll see if I can adapt one to be more general.

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

No branches or pull requests

4 participants