Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 60a096e

Browse filesBrowse files
adam9500370meetps
authored andcommitted
Fix #96 and #104 in pspnet.py
1 parent 89787f3 commit 60a096e
Copy full SHA for 60a096e

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎ptsemseg/models/pspnet.py

Copy file name to clipboardExpand all lines: ptsemseg/models/pspnet.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from ptsemseg.loss import *
1111

1212
pspnet_specs = {
13-
"pascalvoc": {
13+
"pascal": {
1414
"n_classes": 21,
1515
"input_size": (473, 473),
1616
"block_config": [3, 4, 23, 3],
@@ -90,7 +90,7 @@ def __init__(
9090

9191
# Final conv layers
9292
self.cbr_final = conv2DBatchNormRelu(4096, 512, 3, 1, 1, False)
93-
self.dropout = nn.Dropout2d(p=0.1, inplace=True)
93+
self.dropout = nn.Dropout2d(p=0.1, inplace=False)
9494
self.classification = nn.Conv2d(512, self.n_classes, 1, 1, 0)
9595

9696
# Auxiliary layers for training

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.