Skip to content

Trainer typo + no grad_fn #89

@avaughan0

Description

@avaughan0

Describe the bug

  1. trainer() class contains keyword arguments that no longer exist in Pytorch Lightning Trainer class (such as gpus).
  2. Even when these errors are corrected, attempting to train the model causes the following error: (TPU) Exception in device=TPU:6: element 0 of tensors does not require grad and does not have a grad_fn (GPU) Runtime Error: element 0 of tensors does not require grad and does not have a grad_fn

To Reproduce
Steps to reproduce the behavior:
Try to train the model.

Expected behavior
To train the model :)

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