Skip to content

Commit 0607633

Browse files
committed
support pytorch-1.7
1 parent c052173 commit 0607633

File tree

112 files changed

+760
-140
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+760
-140
lines changed

config.profile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# NOTE: This file accepts bash syntax
22

33
# Your Python executable
4-
PYTHON=/data/anaconda/envs/torch0.4/bin/python
4+
# PYTHON=/data/anaconda/envs/torch0.4/bin/python
5+
# PYTHON=/data/anaconda/envs/pytorch1.7.1/bin/python
6+
PYTHON=python
57

68
# Path to your data dir
79
# We expect the following directory structure:
@@ -19,5 +21,5 @@ PYTHON=/data/anaconda/envs/torch0.4/bin/python
1921
# ...
2022
# pascal_context/
2123
# ...
22-
DATA_ROOT=/data/home/yuhui/teamdrive/dataset
24+
DATA_ROOT=/rainbowsecret/dataset
2325

configs/ade20k/H_48_D_4.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
"network":{
9494
"backbone": "deepbase_resnet101",
9595
"model_name": "asp_ocnet",
96-
"bn_type": "inplace_abn",
96+
"bn_type": "torchsyncbn",
9797
"stride": 8,
9898
"factors": [[8, 8]],
9999
"loss_weights": {

configs/ade20k/H_48_D_4_TEST.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
"network":{
103103
"backbone": "deepbase_resnet101",
104104
"model_name": "asp_ocnet",
105-
"bn_type": "inplace_abn",
105+
"bn_type": "torchsyncbn",
106106
"stride": 8,
107107
"factors": [[8, 8]],
108108
"loss_weights": {

configs/ade20k/H_SEGFIX.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
"network":{
9696
"backbone": "deepbase_resnet101",
9797
"model_name": "asp_ocnet",
98-
"bn_type": "inplace_abn",
98+
"bn_type": "torchsyncbn",
9999
"stride": 8,
100100
"factors": [[8, 8]],
101101
"loss_weights": {

configs/ade20k/M_V2_D_8.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
"network":{
9797
"backbone": "mobilenetv2_dilated8",
9898
"model_name": "asp_ocnet",
99-
"bn_type": "inplace_abn",
99+
"bn_type": "torchsyncbn",
100100
"stride": 8,
101101
"factors": [[8, 8]],
102102
"loss_weights": {

configs/ade20k/R_101_D_8.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
"network":{
9494
"backbone": "deepbase_resnet101_dilated8",
9595
"model_name": "asp_ocnet",
96-
"bn_type": "inplace_abn",
96+
"bn_type": "torchsyncbn",
9797
"stride": 8,
9898
"factors": [[8, 8]],
9999
"loss_weights": {

configs/ade20k/R_101_D_8_TEST.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
"network":{
103103
"backbone": "deepbase_resnet101_dilated8",
104104
"model_name": "asp_ocnet",
105-
"bn_type": "inplace_abn",
105+
"bn_type": "torchsyncbn",
106106
"stride": 8,
107107
"factors": [[8, 16]],
108108
"loss_weights": {

configs/ade20k/R_50_D_8.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
"network":{
9999
"backbone": "deepbase_resnet101_dilated8",
100100
"model_name": "asp_ocnet",
101-
"bn_type": "inplace_abn",
101+
"bn_type": "torchsyncbn",
102102
"stride": 8,
103103
"factors": [[8, 8]],
104104
"loss_weights": {

configs/ade20k/W_38_D_8.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
"network":{
9797
"backbone": "deepbase_resnet101_dilated8",
9898
"model_name": "asp_ocnet",
99-
"bn_type": "inplace_abn",
99+
"bn_type": "torchsyncbn",
100100
"stride": 8,
101101
"factors": [[8, 8]],
102102
"loss_weights": {

configs/celeba/H_48_D_4.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
"network":{
8585
"backbone": "deepbase_resnet101_dilated8",
8686
"model_name": "asp_ocnet",
87-
"bn_type": "inplace_abn",
87+
"bn_type": "torchsyncbn",
8888
"stride": 8,
8989
"factors": [[8, 8]],
9090
"loss_weights": {

0 commit comments

Comments
 (0)