kevinzakka / recurrent-visual-attention

A PyTorch Implementation of "Recurrent Models of Visual Attention"
MIT License
469 stars 124 forks source link

segmentation fault while running #14

Closed ChrisSheng97 closed 4 years ago

ChrisSheng97 commented 6 years ago

when running main.py, the program gives segmentation fault in the first 3 iterations in line "accs.update(acc.data[0], x.size()[0])",

kevinzakka commented 6 years ago

@ChrisSheng97 did you update to pytorch 0.4?