Skip to content

Commit 5b21fd0

Browse files
committed
remove print statements
1 parent f44f914 commit 5b21fd0

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/sparcscore/ml/models.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,6 @@ def vgg(cfg, in_channels, **kwargs):
181181
return model
182182

183183
def forward(self, x):
184-
print("x shape: ", x.shape)
185184
x = self.norm(x)
186185
x = self.features(x)
187186

src/sparcscore/ml/plmodels.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -204,9 +204,7 @@ def configure_optimizers(self):
204204

205205
def training_step(self, batch):
206206
data, target = batch
207-
print("Training data shape: ", data.shape)
208-
print("Batch size: ", data.size(0))
209-
207+
210208
output = self.network(data) # Forward pass, only one output
211209
loss = F.mse_loss(output, target) # L2 loss
212210

0 commit comments

Comments
 (0)