Skip to content

Commit 1392be1

Browse files
committed
fix #78
1 parent 9071f2f commit 1392be1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -154,13 +154,13 @@ for parser in iter_parser:
154154

155155
# Simpleアノテーションzip内の1個のJSONファイルを読み込み
156156
with zipfile.ZipFile('simple-annotation.zip', 'r') as zip_file:
157-
parser = SimpleAnnotationZipParser(zip_file, "task_id/input_data_name.json")
157+
parser = SimpleAnnotationZipParser(zip_file, "task01/12345678-abcd-1234-abcd-1234abcd5678.json")
158158
simple_annotation = parser.parse()
159159
print(simple_annotation)
160160

161161
# Simpleアノテーションzip内を展開したディレクトリ内の1個のJSONファイルを読み込み
162-
parser = SimpleAnnotationDirParser(Path("task_id/input_data_name.json"))
163-
simple_annotation = p.parse()
162+
parser = SimpleAnnotationDirParser(Path("task01/12345678-abcd-1234-abcd-1234abcd5678.json"))
163+
simple_annotation = parser.parse()
164164
print(simple_annotation)
165165

166166
```

0 commit comments

Comments
 (0)