I am trying to replicate the code in course-v3 lesson3-imdb.ipynb
For the moment, with no changes. However, I come across two problems. First, data.show_batch() raises
RuntimeError: Could not infer dtype of numpy.int64
The data itself seems fine, so I tried moving on, but trying to create a learner also raises an error:
RuntimeError: you can only change requires_grad flags of leaf variables. If you want to use a computed variable in a subgraph that doesn’t require differentiation use var_no_grad = var.detach().
This error has prevented me from moving further. Could this be a conflict between fastai versions? Right now my machine has
Thanks for your help!