This commit is contained in:
Jeremy Howard 2022-04-25 15:53:05 +10:00
parent b87a476975
commit 93d7698885
3 changed files with 2 additions and 2 deletions

View File

@ -3896,6 +3896,7 @@
"metadata": {},
"outputs": [],
"source": [
"with torch.no_grad(): weights[0] *= 1.0001"
]
},
{

View File

@ -3285,7 +3285,6 @@
}
],
"source": [
"matplotlib.rcParams['image.cmap']='viridis' "
"learn.activation_stats.color_dim(-2)"
]
},

View File

@ -956,7 +956,7 @@
"metadata": {},
"outputs": [],
"source": [
"corrects = (preds>0.5).float() == train_y\n",
"corrects = (preds>0.0).float() == train_y\n",
"corrects"
]
},