Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbuniat committed Dec 9, 2021
1 parent efc75f7 commit c9c8b41
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,23 +63,20 @@ ds = hub.load('hub://activeloop/cifar10-train')

#### Inspect tensors in the dataset:

```
```python
print(list(ds.tensors.keys()))
# ['images', 'labels']
```

#### Inspect the shapes of the images and labels tensors:

```python
print(ds.images.shape)

# (50000, 32, 32, 3)
```

```python
print(ds.labels.shape)

> print(ds.labels.shape)
# (50000, 1)
```

Expand Down

0 comments on commit c9c8b41

Please sign in to comment.