Skip to content

Commit

Permalink
fixed parameter deprecation in training/generation script of SpatialA…
Browse files Browse the repository at this point in the history
…ttentionGAN (#7)

* Update generate.py

fix the deprecated parameters to make it compatible with the current version

* Update train.py

fix deprecated parameters

* Update requirements.txt

* Update train.py

* Update generate.py
  • Loading branch information
pavaris-pm authored Jan 3, 2024
1 parent 80d453b commit 80cba20
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,4 @@ def parse():
padding=0,
normalize=True,
range=(-1.,1.)
)
)
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
numpy>=1.14.0
scikit-image>=0.14.2
tqdm
torch
torchvision
torch==1.11.0
torchvision==0.12.0
torchsummary
tensorboardX

0 comments on commit 80cba20

Please sign in to comment.