Skip to content

unable to figure out training script #7

Description

@Palashio
for epoch in range(max_epochs):
    # Training
    for orig, segmented in training_generator:
        # Transfer to GPU
        orig, segmented = local_batch.to(device), local_labels.to(device)

orig and segmented are torch tensors that represent the images that i need UNet to use to train. How do I implement the training script for this? I'm a bit confused.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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