File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
CollaborativeCoding/models Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -14,15 +14,15 @@ class JohanModel(nn.Module):
1414 Shape of the input image (C, H, W).
1515 num_classes : int
1616 Number of classes in the dataset.
17-
17+
1818 Processing Images
1919 -----------------
2020 Input: (N, C, H, W)
2121 N: Batch size
2222 C: Number of input channels
2323 H: Height of the input image
2424 W: Width of the input image
25-
25+
2626 Example:
2727 Grayscale images (like MNIST) have C = 1.
2828 Input shape: (N, 1, 28, 28)
Original file line number Diff line number Diff line change 11import numpy as np
22import torch as th
33import torch .nn as nn
4- import wandb
54from torch .utils .data import DataLoader
65from torchvision import transforms
76from tqdm import tqdm
87
8+ import wandb
99from CollaborativeCoding import (
1010 MetricWrapper ,
1111 createfolders ,
You can’t perform that action at this time.
0 commit comments