Skip to content

Commit a97177c

Browse files
committed
ConvLearner to create_cnn
1 parent d367f7a commit a97177c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lesson1.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,10 +365,10 @@ len(data.classes),data.c
365365
Believe it or not, we are now ready to train a model. A model is trained in fastai using something called a "learner".
366366

367367
- **DataBunch**: A general fastai concept for your data, and from there, there are subclasses for particular applications like ImageDataBunch
368-
- **Learner**: A general concept for things that can learn to fit a model. From that, there are various subclasses to make things easier in particular, there is one called ConvLearner (something that will create a convolutional neural network for you).
368+
- **Learner**: A general concept for things that can learn to fit a model. From that, there are various subclasses to make things easier in particular, there is a convnet learner (something that will create a convolutional neural network for you).
369369

370370
```python
371-
learn = ConvLearner(data, models.resnet34, metrics=error_rate)
371+
learn = create_cnn(data, models.resnet34, metrics=error_rate)
372372
```
373373

374374
For now, just know that to create a learner for a convolutional neural network, you just have to tell it two things:

0 commit comments

Comments
 (0)