Skip to content
Snippets Groups Projects

Fix version 0.2.0-dev3 and later

Merged Mélodie Boillet requested to merge fix-dev3 into main
All threads resolved!
Files
8
+ 2
1
# -*- coding: utf-8 -*-
import copy
import json
import os
@@ -112,7 +113,7 @@ class OCRDataset(Dataset):
def get_sample_img(self, i):
"""
Get image by index
Compute the final image size and position after feature extraction
"""
if self.load_in_memory:
return self.samples[i]["img"]
Loading