Skip to content

ModuleNotFoundError: No module named 'ocr' #153

@ankitghai83

Description

@ankitghai83

While running below code, I am getting an error "ModuleNotFoundError: No module named 'ocr'". Please help

import sys
import numpy as np
import pandas as pd
import cv2
import matplotlib as plt
import tensorflow as tf
import os
from imgaug import augmenters as iaa

sys.path.append('src')
from ocr.datahelpers import load_words_data, char2idx, CHAR_SIZE
from ocr.dataiterator import BucketDataIterator
from ocr.helpers import img_extend, resize
from ocr.mlhelpers import TrainingPlot
from ocr.tfhelpers import create_cell

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions