leonleyang commited on
Commit
019de0d
·
verified ·
1 Parent(s): d37ca5d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -47,7 +47,7 @@ dataset = load_dataset("randall-lab/mnist", split="train", trust_remote_code=Tru
47
  # dataset = load_dataset("randall-lab/mnist", split="test", trust_remote_code=True)
48
 
49
  # Access a sample from the training set
50
- example = dataset["train"][0]
51
  image = example["image"]
52
  label = example["label"]
53
 
 
47
  # dataset = load_dataset("randall-lab/mnist", split="test", trust_remote_code=True)
48
 
49
  # Access a sample from the training set
50
+ example = dataset[0]
51
  image = example["image"]
52
  label = example["label"]
53