命令行 | TCMalloc for calculating the running time
Installing TCMalloc for use in experiments. This should slightly speed up runs.
sudo apt-get install libgoogle-perftools-dev LD_PRELOAD=/usr/lib/libtcmalloc_minimal.so.4 /usr/bin/time -v python script.py
First part of this is for TCMalloc use when using tensorflow and the second part is for calculating the time it takes to run the script.
This two commands before every script should help when running experiments.