Skip to content

Commit f173c34

Browse files
authored
edits
xai and stuff
1 parent 383d097 commit f173c34

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Vision/Prototype.ipynb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -476,16 +476,16 @@
476476
}
477477
],
478478
"source": [
479-
"# ---------------------------------------------\n",
479+
"\n",
480480
"# Check number of samples per split\n",
481-
"# ---------------------------------------------\n",
481+
"\n",
482482
"print(\"\\nDataset sample counts per split:\")\n",
483483
"for split_name in dataset_dict:\n",
484484
" print(f\"{split_name}: {len(dataset_dict[split_name])} samples\")\n",
485485
"\n",
486-
"# ---------------------------------------------\n",
486+
"\n",
487487
"# Print keys of first example\n",
488-
"# ---------------------------------------------\n",
488+
"\n",
489489
"example = dataset_dict[\"train\"][0]\n",
490490
"print(\"\\nFirst example keys:\", list(example.keys()))\n",
491491
"\n",
@@ -704,9 +704,9 @@
704704
" ax.plot(stroke[:, 0], -stroke[:, 1], color=color, linewidth=2)\n",
705705
" ax.axis(\"off\")\n",
706706
"\n",
707-
"# From your dataloader, get raw traces instead of padded\n",
707+
"# From the dataloader, the model can pull raw traces instead of padded\n",
708708
"for batch in tf_train.take(1):\n",
709-
" # This assumes you still have original \"traces\" column in dataset_dict\n",
709+
" # This is if you still have original \"traces\" in a dataset_dict\n",
710710
" sample_idx = 0\n",
711711
" sample_file_path = dataset_dict[\"train\"][sample_idx][\"file_path\"]\n",
712712
" sample_label = dataset_dict[\"train\"][sample_idx][\"normalized_label\"]\n",

0 commit comments

Comments
 (0)