Is there any other inference script used for evaluating the video stream? Is there a way to create a video similar to the one displayed on the website?
I was able to recreate the code but it is currently working only on the test data.
Here is the error when I try to feed a long video with a sentence: -
Traceback (most recent call last): File "evaluate.py", line 136, in <module> process_video(path, save_dir) File "/home/parag/Sign Language/INCLUDE/generate_keypoints.py", line 90, in process_video pose_x, pose_y = process_pose_keypoints(pose_results) File "/home/parag/Sign Language/INCLUDE/generate_keypoints.py", line 39, in process_pose_keypoints pose_x, pose_y = process_landmarks(pose) File "/home/parag/Sign Language/INCLUDE/generate_keypoints.py", line 16, in process_landmarks for landmark in landmarks.landmark: AttributeError: 'NoneType' object has no attribute 'landmark'
Is there any other inference script used for evaluating the video stream? Is there a way to create a video similar to the one displayed on the website? I was able to recreate the code but it is currently working only on the test data. Here is the error when I try to feed a long video with a sentence: -
Traceback (most recent call last): File "evaluate.py", line 136, in <module> process_video(path, save_dir) File "/home/parag/Sign Language/INCLUDE/generate_keypoints.py", line 90, in process_video pose_x, pose_y = process_pose_keypoints(pose_results) File "/home/parag/Sign Language/INCLUDE/generate_keypoints.py", line 39, in process_pose_keypoints pose_x, pose_y = process_landmarks(pose) File "/home/parag/Sign Language/INCLUDE/generate_keypoints.py", line 16, in process_landmarks for landmark in landmarks.landmark: AttributeError: 'NoneType' object has no attribute 'landmark'