#257 fixing Mixup not defined error in chapter 7 (#258)

This commit is contained in:
Tanner Gilbert 2020-11-29 16:03:31 +01:00 committed by GitHub
parent b9a88de4d3
commit e132978d8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -848,7 +848,7 @@
"```python\n", "```python\n",
"model = xresnet50()\n", "model = xresnet50()\n",
"learn = Learner(dls, model, loss_func=CrossEntropyLossFlat(), \n", "learn = Learner(dls, model, loss_func=CrossEntropyLossFlat(), \n",
" metrics=accuracy, cbs=MixUp)\n", " metrics=accuracy, cbs=MixUp())\n",
"learn.fit_one_cycle(5, 3e-3)\n", "learn.fit_one_cycle(5, 3e-3)\n",
"```" "```"
] ]
@ -1023,4 +1023,4 @@
}, },
"nbformat": 4, "nbformat": 4,
"nbformat_minor": 2 "nbformat_minor": 2
} }