summaryrefslogtreecommitdiff
path: root/test/part_net.py
diff options
context:
space:
mode:
authorJordan Gong <jordan.gong@protonmail.com>2021-03-12 20:12:33 +0800
committerJordan Gong <jordan.gong@protonmail.com>2021-03-12 20:12:33 +0800
commite83ae0bcb5c763636fd522c2712a3c8aef558f3c (patch)
treeb80da057e4c4574ea95fa9f3d3b2fe8c999e3440 /test/part_net.py
parentf2f7713efa03a877bc96ced37314b4c4a6dc1963 (diff)
parent2ea916b2a963eae7d47151b41c8c78a578c402e2 (diff)
Merge branch 'master' into data_parallel
# Conflicts: # models/auto_encoder.py # models/model.py # models/rgb_part_net.py
Diffstat (limited to 'test/part_net.py')
-rw-r--r--test/part_net.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/part_net.py b/test/part_net.py
index 25e92ae..fada2c4 100644
--- a/test/part_net.py
+++ b/test/part_net.py
@@ -64,7 +64,7 @@ def test_custom_part_net():
paddings=((2, 1), (1, 1), (1, 1), (1, 1)),
halving=(1, 1, 3, 3),
squeeze_ratio=8,
- num_part=8)
+ num_parts=8)
x = torch.rand(T, N, 1, H, W)
x = pa(x)