bgshih / aster

Recognizing cropped text in natural images.
MIT License
727 stars 195 forks source link

ModuleNotFoundError: No module named 'aster' #114

Open Ananyapam7 opened 3 years ago

Ananyapam7 commented 3 years ago

I have seen this issue : https://github.com/bgshih/aster/issues/10 but the solution suggested my @13muskanp does not work for me as after changing from

from aster.protos import pipeline_pb2 from aster.builders import model_builder to this: from protos import pipeline_pb2 from builders import model_builder

It is still throwing an error that no module aster is found in the other files of the different directories like builders, covnets, protos etc

old-school-kid commented 3 years ago

If you are already inside the aster directory you can remove the aster. from imports. Also before running the code you need to build the protos. After you have built the pipeline.proto it generates pipeline_pb2.py file.

namelzya commented 3 years ago

If you are already inside the aster directory you can remove the aster. from imports. Also before running the code you need to build the protos. After you have built the pipeline.proto it generates pipeline_pb2.py file.

Thank you,Problem solved.