# SIGMASTAR Pelee_SSD Model Transformation 用netron 打開 ``` pelee512_deploy.prototxt ``` `vim` 或 `total commander` 修改下列路徑 ``` /home/dynacolor/sigma_star/SGS_IPU_SDK_v1.1.1_1204/Scripts/postprocess/postprocess_method/caffe_ssd_pelee_postprocess.py ``` input width height改 512 ``` img_width = anchor.ns(6,512) img_height = anchor.ns(6,512) ``` 從input downscale 16倍 ``` layer_width = [32,32,16,8,4,2] layer_height = [32,32,16,8,4,2] ``` 數 1, 2, 3 因為flip 乘以2 ``` num_priors = [6,6,6,6,6,6] ``` 把netron 上每個prior box 的 max_size min_size輸入進去 ``` min_sizes_ = [[45.5999984741],[21.2800006866],[100.319999695 ],[155.039993286],[209.759994507],[264.480010986]] max_sizes_ = [[100.319999695],[45.5999984741],[155.039993286 ],[209.759994507 ],[264.480010986],[319.200012207]] ``` 轉出 detector ``` python3 Scripts/postprocess/postprocess.py -n caffe_ssd_pelee_postprocess ``` 目前出現錯誤