Skip to content

Commit

Permalink
update in code to acept repeat
Browse files Browse the repository at this point in the history
  • Loading branch information
rivasge committed May 6, 2024
1 parent 34c04b8 commit 7b7aa48
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,8 @@
"# Shuffle the prepared dataset\n",
"sample_ds = parsed_dataset_sample.shuffle(BATCH_SIZE * 4)\n",
"\n",
"sample_ds = sample_ds.repeat()\n",
"\n",
"# Get a sample from the shuffled dataset\n",
"data_not_augmented = next(iter(sample_ds.take(1)))\n",
"\n",
Expand Down

0 comments on commit 7b7aa48

Please sign in to comment.