Closed karansdoshi closed 4 years ago
Hi karansdoshi,
Without knowing exactly what is in untitled.py, it's very difficult for me to debug your issue.
Please provide the line of code that causes the error.
error on line 23,26,29,30,32 `import difflib import importlib import math import random import string
random.seed(123)
import cv2 import gluonnlp as nlp import leven import matplotlib.pyplot as plt import matplotlib.patches as patches import mxnet as mx import numpy as np from skimage import transform as skimage_tf, exposure from tqdm import tqdm
from ocr.utils.expand_bounding_box import expand_bounding_box from ocr.utils.sclite_helper import ScliteHelper from ocr.utils.word_to_line import sort_bbs_line_by_line, crop_line_images from ocr.utils.iam_dataset import IAMDataset, resize_image, crop_image, crop_handwriting_page
from ocr.utils.beam_search import ctcBeamSearch
import ocr.utils.beam_search
from ocr.utils.beam_search import ctcBeamSearch
from ocr.paragraph_segmentation_dcnn import SegmentationNetwork, paragraph_segmentation_transform from ocr.word_and_line_segmentation import SSD as WordSegmentationNet, predict_bounding_boxes from ocr.handwriting_line_recognition import Network as HandwritingRecognitionNet, handwriting_recognition_transform from ocr.handwriting_line_recognition import decode as decoder_handwriting, alphabet_encoding`
What are the error messages?
[23:45:02] src/c_api/../operator/custom/custom-inl.h:57: New registration is overriding existing custom operator _smoothing_with_dim
Which file is this?
I have installed all the latest modules required and basically untitled.py contains all the importing of modules required for handwriting_ocr.ipynb