Lesson 4 and ColunarData


(Italo) #1

Hi everyone,

I’m trying to use fastai in https://www.kaggle.com/c/competitive-data-science-final-project (it’s the final project a Coursera course) and when I try execute the code m.lr_find() (full code at: https://github.com/itsbarreto/hwkc/blob/master/EDA_Model.ipynb) I found the error: RuntimeError: index out of range at /opt/conda/conda-bld/pytorch_1524584710464/work/aten/src/TH/generic/THTensorMath.c:343

Pls, can someone help me?


#2

I have the same problem but on another dataset, have you figured out how to solve it ?


#3

After some debugging, I found out the reason of the error for my case, I’m using the notebook of lecture 11 : Neural Translation, I wanted to swap the source and target and I forget to swap them in the dataset constructor :sweat_smile: I hope that will help you fix your bug.