parent
b9a88de4d3
commit
e132978d8d
@ -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
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user