jxgu1016/MNIST_center_loss_pytorch

"new_empty()"function. Is it a python function or pytorch function?

Closed this issue · 1 comments

Sorry,I can't run the codes because the erro of "new_empty()"function. Is it a python function or pytorch function? I run it below pytorch 0.4 version.

new_emptyis a new method to initialize Tensor since PyTorch 0.4.1. Updating your PyTorch version will fix it.