Skip to content

Commit

Permalink
modify error in textvdcnn
Browse files Browse the repository at this point in the history
  • Loading branch information
SannyZhou committed Sep 18, 2019
1 parent 5372f6a commit ce61b90
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 ce61b90

Please sign in to comment.