Browse Source

!301 update ood main code

Merge pull request !301 from wuxiaoyu123456/master
tags/v1.6.0
i-robot Gitee 3 years ago
parent
commit
382a3ae9fa
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      mindarmour/reliability/concept_drift/concept_drift_check_images.py

+ 1
- 0
mindarmour/reliability/concept_drift/concept_drift_check_images.py View File

@@ -178,6 +178,7 @@ class OodDetectorFeatureCluster(OodDetector):
def ood_predict(self, threshold, ds_test):
"""
The out-of-distribution detection.

Args:
threshold (float): the threshold to judge ood data. One can set value by experience
or use function get_optimal_threshold.


Loading…
Cancel
Save