Skip to content
This repository was archived by the owner on Aug 1, 2023. It is now read-only.
This repository was archived by the owner on Aug 1, 2023. It is now read-only.

Cannot import 'latent_var_criterion' #599

@mamprogr

Description

@mamprogr

Hi,
After installing translate, when I try:
bash pytorch_translate/examples/train_iwslt14.sh
It shows this error:
Traceback (most recent call last): File "pytorch_translate/train.py", line 22, in <module> from pytorch_translate import latent_var_criterion # noqa ImportError: cannot import name 'latent_var_criterion' from 'pytorch_translate'

How to solve it?
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions