mirror of https://github.com/JDAI-CV/fast-reid.git
修改PCB最后一个全连接层unit: from 2 to 1
parent
dfd7e5f61e
commit
a080930464
|
@ -73,7 +73,7 @@ class PcbHead(nn.Module):
|
|||
# Get similarity
|
||||
self.match_all = nn.Sequential(
|
||||
nn.Dropout(p=0.5),
|
||||
nn.Linear(self.embedding_dim * 4, 2)
|
||||
nn.Linear(self.embedding_dim * 4, 1)
|
||||
)
|
||||
|
||||
self.reset_parameters()
|
||||
|
|
Loading…
Reference in New Issue