fix code style

This commit is contained in:
andyjpaddle 2021-09-07 07:39:24 +00:00
parent d611515803
commit b68c895827
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ class ParallelSARDecoder(BaseDecoder):
# Prediction layer
self.pred_dropout = nn.Dropout(pred_dropout)
pred_num_classes = num_classes - 1
pred_num_classes = self.num_classes - 1
if pred_concat:
fc_in_channel = decoder_rnn_out_size + d_model + d_enc
else: