Category "multiprocessing"

Multiprocessing a for loop?

I have an array (called data_inputs) containing the names of hundreds of astronomy images files. These images are then manipulated. My code works and takes a fe

Python Multiprocessing concurrency using Manager, Pool and a shared list not working

I am learning python multiprocessing, and I am trying to use this feature to populate a list with all the files present in an os. However, the code that I wrote

how to see which process owns a python thread

My understanding from multi-threading has been that one process (cpu core) can have multiple threads running with it. So far in python when I want to check whi

Python Ray has issues with ArcPy (ArcGIS Pro)

I'm working on a large-size Vehicle Routing Problems using ArcGIS. As my problem has large number of non-overlapping vehicle routing zones, I have decided to us

Can't pickle static method when using multiprocessing

I'm applying some parallelization to my code, in which I use classes. I knew that is not possible to pickle a class method without any other approach different

>90% of the time is spent on method 'acquire' of 'thread.lock' objects

To identify the step that is using most of the computation time, I ran cProfile and got the following result: ncalls tottime percall cumtime percall fil

Tensorflow and Multiprocessing: Passing Sessions

I have recently been working on a project that uses a neural network for virtual robot control. I used tensorflow to code it up and it runs smoothly. So far, I