lukemelas / EfficientNet-PyTorch

A PyTorch implementation of EfficientNet
Apache License 2.0
7.88k stars 1.53k forks source link

'bool' object has no attribute 'size'. #95

Closed PhantomOfLight closed 4 years ago

PhantomOfLight commented 4 years ago

image

PhantomOfLight commented 4 years ago

This bug exicted with work fast ai

warner-benjamin commented 4 years ago

EfficientNet-PyTorch works with fastai. This is not a bug with the library.

From your screenshot I suspect you are using the cnn_learner function instead of the Learner function to create your model. You should check out the fastai forums for more details.

PhantomOfLight commented 4 years ago

Thanks your, for answer. It's helped me.