Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to figure out training script #7

Open
Palashio opened this issue Jul 30, 2020 · 0 comments
Open

unable to figure out training script #7

Palashio opened this issue Jul 30, 2020 · 0 comments

Comments

@Palashio
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant