thomasw21
commited on
Commit
·
0199675
1
Parent(s):
e4b750b
Woops
Browse files
pmd.py
CHANGED
|
@@ -248,7 +248,7 @@ class COCOloader(BaseLoaderWithDLManager):
|
|
| 248 |
buffer = []
|
| 249 |
# Getting the last batch
|
| 250 |
if len(buffer) > 0:
|
| 251 |
-
|
| 252 |
|
| 253 |
def _generate_examples(self, examples: List[Any], annotation_file: str, base_image_path: Path) -> Dict[str, List[Any]]:
|
| 254 |
return {
|
|
|
|
| 248 |
buffer = []
|
| 249 |
# Getting the last batch
|
| 250 |
if len(buffer) > 0:
|
| 251 |
+
yield buffer
|
| 252 |
|
| 253 |
def _generate_examples(self, examples: List[Any], annotation_file: str, base_image_path: Path) -> Dict[str, List[Any]]:
|
| 254 |
return {
|