I have which I equal -loop, finally the length is about 180,000. Each element in is an array of 7680 . list .append() forlistlist numpy float32
Then I will convert the list into an array numpy, that is, I expect an array of the form (180000, 7680):
d = numpy.asarray( dlist, dtype = 'float32' )
This caused the script message to fail with the message Killed.
Is memory a problem? Assuming it float32takes 4 bytes, 180000x7680x4bytes = 5.5 GB.
I am using 64-bit Ubuntu, 12 GB RAM.
source
share