Skip to content

Commit 1941c76

Browse files
authored
Add USAM module
1 parent d254680 commit 1941c76

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

model.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ def __init__(self, class_num=751, droprate=0.5, stride=2, circle=False, ibn=Fals
124124
self.circle = circle
125125
self.classifier = ClassBlock(2048, class_num, droprate, linear=linear_num, return_f = circle)
126126
if usam:
127+
self.usam = usam
127128
self.usam_1 = USAM()
128129
self.usam_2 = USAM()
129130

0 commit comments

Comments
 (0)