File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
cvat/apps/dataset_manager Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -592,15 +592,15 @@ def _init_tags_from_db(self):
592
592
"source" ,
593
593
)
594
594
.order_by ("frame" )
595
- .iterator (chunk_size = 5000 )
595
+ .iterator (chunk_size = 2000 )
596
596
}
597
597
598
598
for attr in self .db_job .labeledimageattributeval_set .values (
599
599
"image_id" ,
600
600
"spec_id" ,
601
601
"value" ,
602
602
"id" ,
603
- ).iterator (chunk_size = 5000 ):
603
+ ).iterator (chunk_size = 2000 ):
604
604
if attr ["image_id" ] not in db_tags :
605
605
continue
606
606
@@ -641,15 +641,15 @@ def _init_shapes_from_db(self):
641
641
"parent" ,
642
642
)
643
643
.order_by ("frame" )
644
- .iterator (chunk_size = 5000 )
644
+ .iterator (chunk_size = 2000 )
645
645
}
646
646
647
647
for attr in self .db_job .labeledshapeattributeval_set .values (
648
648
"shape_id" ,
649
649
"spec_id" ,
650
650
"value" ,
651
651
"id" ,
652
- ).iterator (chunk_size = 5000 ):
652
+ ).iterator (chunk_size = 2000 ):
653
653
if attr ["shape_id" ] not in db_shapes :
654
654
continue
655
655
You can’t perform that action at this time.
0 commit comments