简体   繁体   中英

Extract data from csv file in python

I have a testbench that calculates the execution time of an image processing algorithm like convolution for example. The testbench is made so that the computed data are filled in a CSV file in this way: "algorithm" "filter size" "image resolution" "execution time":

CONV_2D 7 87400 7000 7003 6099 ...


CONV_2D 7 114400 7035 7032 7034 ...

There is 500 execution time calculated per aglorithm. How can I just extract the execution time from the CSV file to calculate the mean, the variance and to plot the execution time as a function of the image size in python please? Thank you

I have a testbench that calculates the execution time of an image processing algorithm like convolution for example. The testbench is made so that the computed data are filled in a CSV file in this way: "algorithm" "filter size" "image resolution" "execution time":

CONV_2D 7 87400 7000 7003 6099 ...


CONV_2D 7 114400 7035 7032 7034 ...

There is 500 execution time calculated per aglorithm. How can I just extract the execution time from the CSV file to calculate the mean, the variance and to plot the execution time as a function of the image size in python please? Thank you

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM