Nguyen Bao Hung
Results
2
comments of
Nguyen Bao Hung
> v = v / np.sqrt(torch.sum(v * v)) replace ` np.sqrt(torch.sum(v * v))` by `v.norm` It worked for me. I think that `np.sqrt()` requires a variable on `cpu`, not `gpu`
I observed that the out-of-memory still occurs even I change batch size to 16. The first round was OK, but the second wasn't. I think we should delete the previous...