espejelomar
commited on
Commit
·
7981ed8
1
Parent(s):
6cf801b
Update README.md
Browse files
README.md
CHANGED
@@ -42,7 +42,7 @@ model = load_learner(
|
|
42 |
)
|
43 |
```
|
44 |
|
45 |
-
Then you can use your downloaded fastai model in any way you want. For example,
|
46 |
|
47 |
```python
|
48 |
_, _, preds = self.model.predict(np.array(inputs))
|
|
|
42 |
)
|
43 |
```
|
44 |
|
45 |
+
Then you can use your downloaded fastai model in any way you want. For example, if the input is a PIL Image, with the following code you can obtain the resulting outputs for each class:
|
46 |
|
47 |
```python
|
48 |
_, _, preds = self.model.predict(np.array(inputs))
|