Skip to content

Commit e0e34c9

Browse files
fix-Accuray
1 parent 128598f commit e0e34c9

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

_typos.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
[files]
22
# The following files will be excluded from spell check during commits
3-
extend-exclude = []
3+
extend-exclude = [
4+
# Skip `Accuray ` check in these files
5+
"docs/practices/cv/3D_image_classification_from_CT_scans.ipynb",
6+
]
47

58
[default]
69
# Ignore 1-3 letter words, refer to https://github.com/crate-ci/typos/issues/1079
@@ -22,7 +25,6 @@ unsupport = "unsupport"
2225
Nervana = "Nervana"
2326

2427
# These words need to be fixed
25-
Accuray = "Accuray"
2628
Creenshot = "Creenshot"
2729
Embeddding = "Embeddding"
2830
Embeding = "Embeding"

docs/practices/cv/3D_image_classification_from_CT_scans.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,7 @@
747747
},
748748
{
749749
"cell_type": "code",
750-
"execution_count": 31,
750+
"execution_count": null,
751751
"metadata": {
752752
"execution": {
753753
"iopub.execute_input": "2022-12-23T11:14:46.430345Z",
@@ -928,7 +928,7 @@
928928
" valloss += loss.numpy()\n",
929929
" valtotal += 1\n",
930930
" print(\n",
931-
" f\"epoch {epoch} val Loss {valloss / valtotal} Accuray {valacc / valtotal} \"\n",
931+
" f\"epoch {epoch} val Loss {valloss / valtotal} Accuracy {valacc / valtotal} \"\n",
932932
" )\n",
933933
" # 只保存最优模型\n",
934934
" if valacc / valtotal > max_accuracy:\n",

0 commit comments

Comments
 (0)