Skip to content

Commit

Permalink
Merge pull request Tencent#20 from SannyZhou/master
Browse files Browse the repository at this point in the history
modify error in textvdcnn
  • Loading branch information
liqunhit authored Sep 18, 2019
2 parents e3709b4 + ce61b90 commit 0c81897
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model/classification/textvdcnn.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def get_parameter_optimizer_dict(self):
params.append({'params': self.batch_norms[i].parameters()})
params.append({'params': self.linear1.parameters()})
params.append({'params': self.linear2.parameters()})
params.append({'params': self.linear3.parameters()})
params.append({'params': self.linear.parameters()})
return params

def update_lr(self, optimizer, epoch):
Expand Down

0 comments on commit 0c81897

Please sign in to comment.