Skip to content

Commit

Permalink
tests/style_transfer/test_styleflow: update tests for styleflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Vuong Nguyen committed Jan 31, 2024
1 parent 97ef52b commit 78bcaf8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/methods/style_transfer/test_styleflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def test_train_output():
device = 'cuda' if torch.cuda.is_available() else 'cpu'
batch_size = [3 , 6]
channel = [3 , 3]
height, width = (256 , 256)
height, width = (64 , 64)
vgg_path = None
for i in range(2):
model = STYLEFLOW(in_channel=3, n_flow=15, n_block=2, vgg_path = vgg_path,
Expand Down Expand Up @@ -47,7 +47,7 @@ def test_style_flow_generate_output():
device = 'cuda' if torch.cuda.is_available() else 'cpu'
batch_size = [1 , 1]
channel = [3 , 3]
height, width = (128 , 256)
height, width = (64 , 128)
vgg_path = None
for i in range(2):
model = STYLEFLOW(in_channel=3, n_flow=15, n_block=2, vgg_path = vgg_path,
Expand Down

0 comments on commit 78bcaf8

Please sign in to comment.