Skip to content

Tensormismatch restore_experiment #206

@PurerStress

Description

@PurerStress

Hello,

I have a problem regarding restoring my experiment.
When I do experiment_config.restore_file in my python file, I get the error:

RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu!

I previously trained my model on the GPU and sampled and buffered on the CPU. When I reload the model I want to keep it this way but then I get this error. If I reload my experiment an train it on the CPU it works fine.
Is there any way to solve this problem?

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