Closed cSchubes closed 6 years ago
Getting the same error. I was able to solve it by updating the repo on my local machine and set learn.metrics = []
The relevant discussion and answer by fizx is here
http://forums.fast.ai/t/typeerror-on-the-first-exemple-in-lesson-1-no-loop-matching-the-specified-signature-and-casting/22403/5
Is this on py37? If so, there's a known bug with numpy.
Python 3.6 actually. learn.metrics = []
works, but then I don't get nice metrics... and if I try and use metrics, it fails.
I didn't have the bug (which may due to the fact my pytorch is 0.4) but I think the fix from @ncihnegn should work. Please reopen if it's not the case.
If that doesn't work now "create_cnn" can be used in place of ConvLearner
Hi,
I am following lesson 1 of the DLC course and have encountered what appears to be a bug in FastAI itself. The following lines run the training, but fail after for something related to numpy:
Batch size is 8 because I have only 2GB on my GPU. The error is below:
This looks like something internal to FastAI and its interactions with Numpy. Any help would be greatly appreciated!