## 說明 目前已用 Colaboratory 測試過 YOLO-NAS 的功能,並能從中擷取出 labels, scores, bboxs 等數據,不過在將其代入 PoseFormerV2 內的 gen_kpts.py 時,仍遇到了一些問題。 ### 修改部分(有綠色邊線)  (載入 model 及設定 device)  (得到 sample 後,用 for 迴圈尋找「人(屬性值為 0)」出現在 array 何處,找到後跳出。如果有找到,if 條件式把「人」的 bboxs 和 scores 輸出) ### 錯誤訊息  在修改 gen_kpts.py 後,sort.py 會報錯「IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed」,目前的解決方法是把相應的程式段落註解掉,但這會導致另一個錯誤:  (sort.py 導致錯誤的段落(註解部分))  新的報錯訊息為「ValueError: axes don't match array」,發生在 PoseFormerV2 第一階段完成時。
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up