textGAN_public
textGAN_public copied to clipboard
ModuleNotFoundError: No module named 'bleu_scorer'
I found this error when running your code with tensorflow
from bleu_scorer import BleuScorer ModuleNotFoundError: No module named 'bleu_scorer'
I fix the issue by giving absolute import path
from pycocoevalcap.bleu.bleu_scorer import BleuScore
please elaborate it how you solve this issue, as i am still unable to solve it...
I solved this problem by following way In the file named bleu.py, I replace this from bleu_scorer import BleuScorer with this from pycocoevalcap.bleu.bleu_scorer import BleuScorer