Release notes

`2.1.1rc1'

  • 2023.01.03

    [버그 수정]

    • anomaly clustering 학습 내부 key 수정: anomaly_cluster_metadata -> anomaly_cluster_meta

    [기능 추가]

    • VadInferenceEngine.save_checkpoint API 추가. 모델 weight를 업데이트하여 저장합니다.

    [기능 개선]

    [기능 제거]

    [기타]

    [기능 추가]


  • Previous versions

    2.0.3

    • 2022.11.22

      [기능 개선]

      • Anomaly Clustering Trainer에서 cuda 사용 불가시에, CudaNotAvailableError를 띄움.

    2.0.2

    • 2022.11.09

      [버그 수정]

      • Anomaly Clustering Inference 의 Indistribution Detector v1 호환성 관련 Hotfix
        1. v1 indistribution detector 살려냄.
        2. inference 시에, clustering_method 가 'mice'면 v1, 'moco'면 v2 를 호출함.
        3. v1 indistribution detector를 살려냄에 따라, lightning-bolts==0.5.0 이 requirements로 추가됨.

    2.0.1

    • 2022.11.04

      [버그 수정]

      • Anomaly Clustering Inference의 Indistribution Detector가 pretrained 모델로 학습된 indistribution detector의 state_dict를 로드할 때에 해당 클래스가 pretrained_weight으로 init 되지 않을 경우, conv 사이즈 맞지 않는 현상 수정.

    2.0.0

    • 2022.10.28

      [기능 추가] - Anomaly Clustering Moco 알고리즘 추가 - Anomaly Clustering Trainer 테스트 코드 추가. - Indistribution Detector의 pretrained 모델 사용으로 인한 setup.py 수정 및 config.py 수정. (weight download)

      [기능 개선] - Indistribution Detector 성능 개선. - Anomaly Clustering 알고리즘 pl-bolts 의존성 제거

    1.5.4

    • 2022.10.25
    • [FIX] fix moco dataloader issue
    • [FIX] save roi template image when inference (for debugging)
    • [FIX] cycle counter GPU memory 최소화
    • [FIX] seperate out vad model loader and vcls model loader
    • [FEATURE] slow motion detection → is_slow result 필드 추가

    1.5.3

    • 2022.10.17
    • [FIX] type error in model converter

    1.5.2

    • 2022.10.17
    • [FIX] Color_complexity_mask converter에 추가
    • Update latest metadata for leagacy model file

    1.5.1

    • 2022.10.14
    • metadata 변경 및 호환성 관련
      • v1 -> v2 모델 컨버팅 시, metadata에 cluster_info 추가
      • Inference에서 critical로 체크된 cluster가 아닐 때 is_anomaly=False로 덮어쓰는 로직 제거
      • AnomalyClusterTrainer 학습 후 metadata에 cluster_info 추가
      • metadata validation 체크시 'cluster_info' 추가
      • v1 모델 metadata -> common_settings 에서 roi_xyxy 혹은 roi 모두 -> v2 roi_xyxy로 변경.
    • Cycle Counter 관련
      • is_anomaly와 관계없이 cycle count 작동하도록 변경
      • 모델 config에서 inspect_length 불러올 수 있도록 수정

    1.5.0

    • 2022.10.14
    • Cycle counter 추가 [TASK] Cycle counter 구현
      • 128 frame 마다 업데이트되는 누적 cycle 횟수를 result field “cycle_count”로 저장
    • result field에 “cycle_count” 추가

    1.4.7

    • 2022.10.13
      1. add "color_complexity_mask" to metadata["common_settings"]

    1.4.6

    • 2022.10.13
    • VAD 연구팀에서 쓸 metadata 확정 ⇒ 앞으로 API Docs 맨 위에 metadata 테이블 두고 변경 시 백엔드 팀과 논의해서 바꾸기.
    • metadata 체크 test 코드 추가 (필드 이름 정확히 일치하는 지)
    • moco clustering 추가.

    1.4.5

    • 2022.10.11
    • [Fix] v1 변환 모델 infer 시 color complexity 초기화 에러 해결 (config 없는 문제)
    • [Fix] cluster 학습 시 load_checkpoint 를 한번 더해서 에러나는 부분 수정
    • [Fix] legacy meta_data를 encrypt 안하도록 수정

    1.4.4

    • 2022.09.28
    • [Fix] torch.cuda.empty_cache()를 기존 6개에서 1개만 실행되도록 수정. 기타 버그 수정.

    1.4.3

    • 2022.09.26
    • [New] cythonize 할 때 pretrained model weight을 다운 받고, deploy 폴더에 같이 포함 시킴.

    1.4.2

    • 2022.09.26
    • [Fix] selector import 제거
    • [Modify] saigevad 'meta_data' 'metadata' 모두 사용 가능.
    • [Modify] 더이상 사용하지 않을 load_model, set_model api 제거

    1.4.1

    • 2022.09.26
    • [Modify] torch lightning 시드 추가 및 early stopping 제거. 기타 버그 수정.

    1.4.0

    • 2022.09.26
    • [Add]Result Container에 final_score, final_threshold 추가
    • [Modify]모델 파일 내부 "meta_data" -> "metadata"
    • [Modify]inference engine에 n_sigma (=final_threshold) 넣을 수 있도록 수정
    • [Bug fix]Color complexity mask 관련 버그 수정
    • [Bug fix]ROI callibration 쪽 cropper 버그 수정

    1.3.1

    • 2022.09.20
    • 모델 파일 내 version 타입 string으로 변경
    • anomalyclustering 관련 아웃풋들 중 “cluster_name”, “anomaly_cluster”를 모두 “cluster_index”로 변경
    • 기타 버그 수정.

    1.3.0

    1.2.0

    • 2022.09.06
    • New
      • Anomaly Clustering Inference API VAD Inference에 병합됨.
    • Changed
      • Anomaly Clustering Trainer API 학습 input에 기존 saigevad 모델 경로 입력 필요 및 내부 키 변경 사항 반영. (output_model_path → saigevad_weight_path)
      • torch 및 cv2 쓰레드 수 제한.
      • SaigeToolkit submodule 최신버젼으로 업데이트

    1.1.0

    1.0.0

    • 2022.08.19
    • initial release