sign-language-processing / transcription

Text to pose model for sign language pose generation from a text sequence
35 stars 16 forks source link

cannot import name 'make_data_iter" at pose_to_text/train.py #7

Closed kienld304 closed 1 year ago

kienld304 commented 1 year ago

Hello, I have some issues

  1. I can not run commands begin folder name "video_to_pose -i sign.mp4 --format mediapipe -o sign.pose" "pose_to_segments -i sign.pose -o sign.eaf --video sign.mp4" I found the bin.py in that folder so i can run it by python bin.py instead. It worked But in "pose_to_text --notation=signwriting --pose=sign.pose --eaf=sign.eaf" . I dont see any folder named bin.py so i run the train.py by " python pose_to_text/train.py --notation=signwriting --pose=sign.pose --eaf=sign.eaf"

and it export error "cannot import name 'make_data_iter' from 'joeynmt.datasets". I check the joeynmt.datasets and it named make_inter. I change "make_data_iter" to "make_inter" but it allso export "cannot import name 'make_iter' from 'joeynmt.datasets" . I check the version of joeynmt and it matched.

I also remove this code image but it didn't work

I try many time and many ways. I dont know how to solve this issue. Please help me. Thank you so much

AmitMY commented 1 year ago

pose_to_text is still under development. The video_to_pose and pose_to_segments should be working at the moment

kienld304 commented 1 year ago

oh i see, The video_to_pose and pose_to_segments worked well. I'll wait for the "pose_to_text". Thank you so much