I have a video. I want to partition the video into frames and run an matlab algorithm on each frame, store the output.
I have set up the Amazon EC2 with multiple cores (16). I used the following blog [http://noisyaccumulation.blogspot.com/2010/09/using-amazon-ec2-to-speed-up-matlab.html] to to install Matlab MCRInstaller in the instance and create matlab exe.
a. Now, I want to write a python code that figures out number of cores and split video into frames and call exe for each frame. I know the basics of python and know how to partition the video frames but I do not know how to do parallel operation in amazon ec2. Can anybody help with this python code, i.e. how do I create python code to use multiple cores?
b. Also, if I just use parfor in Matlab and create exe file, will it detect automatically how many pools to create or does it use the profile when exe was generated. If parfor works in server, I do not need to write python code. Any help is appreciated.
c. The exe file looks for the video files in the current folder and generates the output to the current folder. Is this valid in the server if I have multiple cores?
I have a video. I want to partition the video into frames and run an matlab algorithm on each frame, store the output.
I have set up the Amazon EC2 with multiple cores (16). I used the following blog [http://noisyaccumulation.blogspot.com/2010/09/using-amazon-ec2-to-speed-up-matlab.html] to to install Matlab MCRInstaller in the instance and create matlab exe.
a. Now, I want to write a python code that figures out number of cores and split video into frames and call exe for each frame. I know the basics of python and know how to partition the video frames but I do not know how to do parallel operation in amazon ec2. Can anybody help with this python code, i.e. how do I create python code to use multiple cores?
b. Also, if I just use parfor in Matlab and create exe file, will it detect automatically how many pools to create or does it use the profile when exe was generated. If parfor works in server, I do not need to write python code. Any help is appreciated.
c. The exe file looks for the video files in the current folder and generates the output to the current folder. Is this valid in the server if I have multiple cores?
0 commentaires:
Enregistrer un commentaire