-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Closed
Labels
Description
Example:
(pytorch) amos@node:/mnt/data2/projects/nextgen/model$ python -OO ./testdropout.py
Segmentation fault (core dumped)
(pytorch) amos@node:/mnt/data2/projects/nextgen/model$ cat ./testdropout.py
from torch.autograd import Variable
import torch.nn.functional as F
import torch
ted = Variable(torch.randn(5, 4, 20))
out = F.dropout(ted, 0.2, True)
print(out)
Ubuntu 16.04, pytorch from last week.