Skip to content

Release notes

2.0.4

  • [기능 변경] InferenceHandler.analyze 시 어떤 수의 이미지가 들어와도 항상 batch size 1 로 인퍼런스하도록 변경하였습니다.

2.0.3

  • [Bug Fix] InferenceHandler.analyze return 형식을 docs에 써있는 대로 고쳤습니다.

2.0.2

  • SaigeToolkit 버전 업데이트: 1dc9cc
    • torch 버전 업데이트: 2.0.0+cu118
    • Augmentation preview 변경: ratio_jitter preview api를 호출할 때마다, 이미지의 네변에 각각 [0, proportion] 범위에서 랜덤하게 crop 혹은 padding을 해서 보여줍니다.
  • [기능 변경]
    • Inferenceinference_option 타입 변경
      • params.additional_scores: List[int]List[Union[int, float]] (내부적으로는 모두 float32로 연산)
    • Inference의 리턴 타입 변경
      • scores_original: int32float32
      • scores_including_add: int32float32
    • Trainer.build의 키 이름 변경: resizeimage_resize_wh
    • Analysis API가 InferenceHandler.analyze() & InferenceHandler.summarize_analysis() 로 변경되었습니다. (기존 Analysis API들은 제거되었습니다.)
  • [기능 개선]
    • 학습/인퍼런스시 데이터 전처리 최적화를 통해 속도가 향상 되었습니다.
    • Analysis시 인퍼런스 결과 후처리 최적화를 통해 속도가 향상 되었습니다.

2.0.1

  • SaigeToolkit 버전 업데이트: e25378
  • [기능 추가]
    • Trainer.build에 V2 network_type 추가: v2_fast, v2_standard, v2_accurate (내부적으로는 각각 v1_shallow, v1_standard, v1_deep와 동일. 추후 모델 업그레이드 예정.)
    • InferenceHandler.warmup 추가
  • [기능 변경]
    • Trainer.buildnetwork_type 키 변경
      • shallowv1_shallow
      • standardv1_standard
      • deepv1_deep
    • Inferenceinference_option 삭제
      • outputs.scores_original 삭제: 결과에 항상 포함
      • outputs.scores_including_add 삭제: 결과에 항상 포함
      • outputs.class_index 삭제: 결과에 항상 포함
      • params.temperature 삭제: 항상 기본값(1.0) 사용
    • Inferenceinference_option 변경
      • params.max_batch_sizeparams.batch_size로 이름 변경
      • 인퍼런스 시 고정 GPU 메모리를 사용 (항상 params.batch_size로 배치사이즈 만들어서 인퍼런스)
      • params.batch_sizeInferenceHandler.build시에만 적용 가능하며, set_inference_option 에서는 변경이 불가합니다.
  • [Bug Fix]
    • Windows에서 Trainer.buildnum_workers=0 사용하는 경우 발생하는 에러 해결
    • 내부 알고리즘 변경 (.contiguous())으로 인퍼런스 속도가 향상되었습니다.

2.0.0

rc1

  • SaigeToolkit 버전 업데이트: 42207d
  • [기능 추가]
    • 학습/검사 시 16비트 이미지 지원
    • Trainer.post_train_process 메소드 추가
    • inference_option 추가
      • outputs.time 추가: 인퍼런스 시간 측정 옵션
      • params.max_batch_size 옵션 추가: InferenceHandler.infer_and_postprocess 에 한 번에 입력할 수 있는 이미지 수 제한 (기본값 1)
    • InferenceHandler.finalize_analysis 결과 추가
      • summaryclass_{idx}_underkill, object/class_{idx}_overkill 추가
      • summarytotal, correct, wrong 추가
  • [기능 변경]
    • Trainer.build config 중 modelnetwork_type로 이름 변경
    • Augmentation 종류 및 파라미터 변경
      • color_jitter, adjust_brightness_contrast, iso_noise, zoom, light_reflect 제거
      • adjust_brightness, adjust_contrast, adjust_hue, adjust_saturation 추가
      • adjust_gamma, ratio_jitter 파라미터 변경
    • InferenceHandler.build로 빌드 시, class_activation_map 이 default로 켜져서 작동하도록 변경
    • InferenceHandler.set_analysis_data, Trainer.build 데이터 입력 구조를 listdict 변경
    • InferenceHandler.finalize_analysis 결과 출력 구조를 listdict 변경
  • [Bug Fix]
    • 첫번째 클래스를 제외하고 메트릭이 계산되던 버그 수정

rc0

  • initial release