Open swidi opened 3 years ago
When I use the prepackaged Texar module from pip instead (same version - 0.2.1), 'texar.data' is found, but I get this error instead:
AttributeError: module 'texar.utils' has no attribute 'reduce_with_weights'
which makes sense because you seem to be using an adapted version of texar.
Same error! when i want to run " sh run_interactive.sh" to interactively generate emotion-aware stories:
I install the texar 0.2.1 ,and i enter python environment to test if it is successfully installed.
the error is :>>> import texar
Traceback (most recent call last):
File "
My error is same with you ,I really want to reproduce this project,becaues it is so excellent. Can you give me some useful advice ? I am so sorrt to bother you! And my tensorflow version is 1.12.0,tensorflow-probability version is 0.7 @swidi @fabrahman
Try and check my forked repo: https://github.com/swidi/poemo-generation
I believe I had some import trouble as well. Check my README and req.txt for dependencies, that's all I can help you with as I don't have much memory about this project anymore.
Thank you for you timely reply! I hope i can solve the question ~ wish you have nice day! sincerely
There seems to be an issue with the included texar module.
I installed it as described in the README via
pip install -e .
but it cannot be imported:This leads to
run_emosup.py
failing