Skip to content

RuntimeError in prediction task  #5

@arhouati

Description

@arhouati

Hello,

While trying to execute the prediction task, I have the following Error :
RuntimeError: Only Tensors created explicitly by the user (graph leaves) support the deepcopy protocol at the moment

The error is caused by this line of code : "predictions.append(model.predict(batch, opt, None))" (line : 57 / translate.py)

Did you get the same error in some steps?
How could I fix this issue?

Thanks in advance,
Best Regards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions