Skip to content

Commit fa432d2

Browse files
committed
ruffedisorted
1 parent a89b766 commit fa432d2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CollaborativeCoding/models/johan_model.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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)

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import numpy as np
22
import torch as th
33
import torch.nn as nn
4-
import wandb
54
from torch.utils.data import DataLoader
65
from torchvision import transforms
76
from tqdm import tqdm
87

8+
import wandb
99
from CollaborativeCoding import (
1010
MetricWrapper,
1111
createfolders,

0 commit comments

Comments
 (0)