Skip to content

Commit 832659f

Browse files
authored
Update data_quickstart_tutorial.py (#36)
1 parent 9fb12b3 commit 832659f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

beginner_source/quickstart/data_quickstart_tutorial.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,13 @@ def __getitem__(self, idx):
129129
#
130130
# The init function is used for all the first time operations when our Dataset is loaded. In this case we use it to load our annotation labels to memory and the keep track of directory of our image file. Note that different types of data can take different init inputs you are not limited to just an annotations file, directory_path and transforms but for images this is a standard practice.
131131
# A sample csv annotations file may look as follows:
132+
#
132133
# tshirt1.jpg, 0
134+
#
133135
# tshirt2.jpg, 0
136+
#
134137
# ......
138+
#
135139
# ankleboot999.jpg, 9
136140
#
137141
# Example:

0 commit comments

Comments
 (0)