Skip to content

Commit f7607e9

Browse files
committed
format + also bring in the right dependencies for testing
1 parent 64df028 commit f7607e9

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ test = [
3535
"numpy>=2.2.6",
3636
"pytest>=8.4.1",
3737
"scikit-image>=0.25.2",
38+
"matplotlib>=3.10.3",
3839
]
3940

4041
# Formatting, linting, etc.

src/current_denoising/generation/dcgan.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,9 @@ def train(
154154
# We'll be tracking training using the FID score
155155
fid_model = resnet18(pretrained=True)
156156
fid_model.to("cuda")
157-
fid_metric = FrechetInceptionDistance(feature_dim=1000, model=fid_model, device="cuda")
157+
fid_metric = FrechetInceptionDistance(
158+
feature_dim=1000, model=fid_model, device="cuda"
159+
)
158160
fid_scores = []
159161

160162
gen_losses = []

0 commit comments

Comments
 (0)