What's new? |
Tensorflow 2.4.0 - 컴퓨터 |
checking whether mkl is enabled or not.
python -c "from tensorflow.python.framework import test_util;print(test_util.IsMklEnabled())"
python -c "from tensorflow.python.framework import test_util;print(test_util.IsMklEnabled())"
written time : 2020-09-10 15:31:35.0
PyTorch vs Tensorflow - 컴퓨터 |
Unexpected differences
>>> a=np.random.rand(500,500)
>>> b=tf.pow(tf.constant(a, tf.float32),2)
>>> c=torch.pow(torch.tensor(a, dtype=torch.float32),2)
>>> np.sum(b.numpy()-c.numpy())
3.87448e-06
>>> a=np.random.rand(500,500)
>>> b=tf.pow(tf.constant(a, tf.float32),2)
>>> c=torch.pow(torch.tensor(a, dtype=torch.float32),2)
>>> np.sum(b.numpy()-c.numpy())
3.87448e-06
written time : 2020-09-08 12:25:36.0
axel instead of wget - 컴퓨터 |
ref: https://stackoverflow.com/questions/3430810/multiple-simultaneous-downloads-using-wget
on Ubuntu
sudo apt-get install axel
axel -n NUMBER_OF_CONNECTIONS URL
on Ubuntu
sudo apt-get install axel
axel -n NUMBER_OF_CONNECTIONS URL
written time : 2020-09-02 16:35:28.0