Closed amalmathew7 closed 1 year ago
I got the same error, adding import tensorflow.compat as tf
did not change anything
Hi, did you install according to the instructions
My issue was solved when I ran this in VS code.I think my issue had something to do with virtualisation not turing ON when done in windows cmd.
having error ModuleNotFoundError: No module named 'tensorflow.compat' when I try to run main.py Traceback (most recent call last): File "C:\Users\Amal\Documents\handwriting-synthesis\main.py", line 2, in
from handwriting_synthesis import Hand
File "C:\Users\Amal\Documents\handwriting-synthesis\handwriting_synthesis__init.py", line 3, in
from .hand import Hand
File "C:\Users\Amal\Documents\handwriting-synthesis\handwriting_synthesis\hand__init__.py", line 1, in
from .Hand import Hand
File "C:\Users\Amal\Documents\handwriting-synthesis\handwriting_synthesis\hand\Hand.py", line 9, in
from handwriting_synthesis.rnn import RNN
File "C:\Users\Amal\Documents\handwriting-synthesis\handwriting_synthesis\rnn\ init__.py", line 1, in
from .LSTMAttentionCell import LSTMAttentionCell
File "C:\Users\Amal\Documents\handwriting-synthesis\handwriting_synthesis\rnn\LSTMAttentionCell.py", line 5, in
import tensorflow.compat.v1 as tfcompat
ModuleNotFoundError: No module named 'tensorflow.compat'
Process finished with exit code 1