Skip to content

Commit 5d8309b

Browse files
committed
preparing for overall test
1 parent b7bffa3 commit 5d8309b

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

environment.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ dependencies:
2020
- scalene
2121
- tqdm
2222
- scipy
23+
- wandb
2324
- pip:
2425
- torch
2526
- torchvision

main.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
import wandb
99
from utils import MetricWrapper, createfolders, get_args, load_data, load_model
10-
10+
from wandb_api import WANDB_API
1111

1212
def main():
1313
"""
@@ -29,7 +29,7 @@ def main():
2929

3030
device = args.device
3131

32-
if args.dataset.lower() in ["usps_0-6", "uspsh5_7_9"]:
32+
if args.dataset.lower() in ["usps_0-6", "usps_7-9"]:
3333
transform = transforms.Compose(
3434
[
3535
transforms.Resize((16, 16)),
@@ -107,13 +107,13 @@ def main():
107107

108108
# wandb.login(key=WANDB_API)
109109
wandb.init(
110-
entity="ColabCode-org",
110+
entity="ColabCode",
111111
# entity="FYS-8805 Exam",
112-
project="Test",
112+
project="Jan",
113113
tags=[args.modelname, args.dataset]
114114
)
115115
wandb.watch(model)
116-
exit()
116+
117117
for epoch in range(args.epoch):
118118
# Training loop start
119119
trainingloss = []

0 commit comments

Comments
 (0)