Today I met an error:
a is a float32 pytorch tensor; and b is a float64 pytorch tensor with all elements equals 1. When I perform the following multiplication:
1 |
c = a * b |
The result of “c” is 0.
The error will be fixed when b is converted to float32.
When trying to install nvidia docker, following the instructions on github is not helpful, I tried:
https://chunml.github.io/ChunML.github.io/project/Installing-NVIDIA-Docker-On-Ubuntu-16.04/
and succeeded.