Skip to content

Commit 4e8c4e6

Browse files
committed
teeny adjustments
1 parent 24f920d commit 4e8c4e6

File tree

4 files changed

+156
-12
lines changed

4 files changed

+156
-12
lines changed

main.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
from torch.utils.data import DataLoader
66
from torchvision import transforms
77
from tqdm import tqdm
8+
#from wandb_api import WANDB_API
89

910
from CollaborativeCoding import (
1011
MetricWrapper,
@@ -121,11 +122,11 @@ def main():
121122
train_metrics(y, logits)
122123

123124
break
124-
print(train_metrics.accumulate())
125+
print(train_metrics.__getmetrics__())
125126
print("Dry run completed successfully.")
126127
exit()
127128

128-
# wandb.login(key=WANDB_API)
129+
# wandb.login(key=WANDB_API)
129130
wandb.init(
130131
entity="ColabCode",
131132
project=args.run_name,

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ dependencies = [
2323
"torch>=2.6.0",
2424
"torchvision>=0.21.0",
2525
"tqdm>=4.67.1",
26+
"wandb>=0.19.6",
2627
]
2728
[tool.isort]
2829
profile = "black"

tests/test_models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import pytest
22
import torch
33

4-
from CollaborativeCoding.models import ChristianModel, JanModel, MagnusModel
4+
from CollaborativeCoding.models import ChristianModel, JanModel, MagnusModel, SolveigModel
55

66

77
@pytest.mark.parametrize(

0 commit comments

Comments
 (0)