Skip to content

Commit 69b5700

Browse files
committed
update train.py
1 parent 07ec957 commit 69b5700

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deep_sort/deep/train.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def main(args):
153153
print('[epoch {}] accuracy: {}'.format(epoch, test_acc.item()))
154154

155155
state_dict = {
156-
'net_dict': net.state_dict(),
156+
'net_dict': net.module.state_dict(),
157157
'acc': test_acc,
158158
'epoch': epoch
159159
}

0 commit comments

Comments
 (0)