Skip to content

Conversation

scottclowe
Copy link
Member

The example code should be

for image, dna_barcode, label in dataset:

instead of

for (image, dna_barcode), label in dataset:

since the return value is one tuple not a nested tuple.

Reported by @xl-huo.

The example code should be
```
for image, dna_barcode, label in dataset:
```
instead of
```
for (image, dna_barcode), label in dataset:
```
since the return value is one tuple not a nested tuple.

Reported by @xl-huo.
@scottclowe scottclowe merged commit 644988d into master Feb 8, 2025
4 checks passed
@scottclowe scottclowe deleted the doc+bug_single-tuple-return branch February 8, 2025 18:40
@scottclowe scottclowe added bug Something isn't working documentation Improvements or additions to documentation labels Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant