Skip to content

Commit

Permalink
fix doc build problem
Browse files Browse the repository at this point in the history
  • Loading branch information
yangxudong committed Dec 13, 2023
1 parent 5157f50 commit 2ee7015
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion easy_rec/python/tools/feature_selection.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def _feature_dim_dropout_ratio(self):
logit_p_name = 'logit_p' if group_name == 'all' else 'logit_p_%s' % group_name
try:
logit_p = reader.get_tensor(logit_p_name)
except Exception as e:
except Exception:
print('get `logit_p` failed, try to get `backbone/logit_p`')
logit_p = reader.get_tensor('backbone/' + logit_p_name)
feature_dims_importance = tf.sigmoid(logit_p)
Expand Down

0 comments on commit 2ee7015

Please sign in to comment.