thomasw21 commited on
Commit
0199675
·
1 Parent(s): e4b750b
Files changed (1) hide show
  1. pmd.py +1 -1
pmd.py CHANGED
@@ -248,7 +248,7 @@ class COCOloader(BaseLoaderWithDLManager):
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 {
 
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 {