Skip to content
Snippets Groups Projects
Verified Commit 59ab6de9 authored by Mélodie Boillet's avatar Mélodie Boillet
Browse files

Apply 2bb85c50

parent 1392b8f4
No related branches found
No related tags found
1 merge request!224Fix version 0.2.0-dev3 and later
# -*- 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"]
......
# -*- coding: utf-8 -*-
import copy
import os
import pickle
import random
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment