dji-sdk / Tello-Python

This is a collection of python modules that interact with the Ryze Tello drone.
Other
1.34k stars 642 forks source link

【tello pose reconition】Can't open "model/pose/mpi/pose_deploy_linevec_faster_4_stages.prototxt" in function 'cv::dnn::ReadProtoFromTextFile' #66

Open amixlong opened 4 years ago

amixlong commented 4 years ago

cv2.error: OpenCV(3.4.2) C:\projects\opencv-python\opencv\modules\dnn\src\caffe\caffe_io.cpp:1121: error: (-2:Unspecified error) FAILED: fs.is_open(). Can't open "model/pose/mpi/pose_deploy_linevec_faster_4_stages.prototxt" in function 'cv::dnn::ReadProtoFromTextFile'

amixlong commented 4 years ago

I solved it,by changing the relative path to absolute path.

dji-dev commented 4 years ago

Agent comment from Ho.Yan in Zendesk ticket #34062:

Dear Developer, Thank you for contacting DJI.

This question you can contact RYZE Tello's technical support: support.cn@ryzerobotics.com

Warm Regards, DJI Developer Support

amixlong commented 4 years ago
In the file of tello_pose.py,I changed weightsFile and protoFile 's paths as absolute paths ,then it worked.Hope for this reply can help you. 龙树燏

longshuyu21@126.com | 签名由网易邮箱大师定制 On 5/12/2020 14:15,UpgradingTesLAnotifications@github.com wrote:

I solved it,by changing the relative path to absolute path.

@amixlong I'm also facing the same error, can you explain how did you resolved it?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.