Skip to content

ImportError: No module named 'texar.tf' #279

Description

@TWJ718925

There is an error when using tx.modules.TransformerEncoder to pass hparams!How to deal with it?

Traceback (most recent call last):
File "/home/twjing/PycharmProjects/infilling/Text_Infilling-master/seq2seq.py", line 34, in
import seq2seq_hyperparams
File "/home/twjing/PycharmProjects/infilling/Text_Infilling-master/seq2seq_hyperparams.py", line 10, in
from texar.tf.modules import default_transformer_poswise_net_hparams
ImportError: No module named 'texar.tf'

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions