Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax Error When Running compute_coordinates_for_video.py #13

Open
eric07109 opened this issue Aug 4, 2020 · 2 comments
Open

Syntax Error When Running compute_coordinates_for_video.py #13

eric07109 opened this issue Aug 4, 2020 · 2 comments

Comments

@eric07109
Copy link

I am running into this syntax error when running the compute_coordinates_for_video.py

image

My datasets/train_B just contains a bunch of images extracted from video
image

Please kindly let me know why and how I can address this issue.

@ronghui19
Copy link

for item in tqdm(img_list): img = imread(os.path.join(img_dir, item)) cord = cordinates_from_image_file(img, model=model) pose_cords.append(cord) color,_ = draw_pose_from_cords(cord, im_shape) imsave(os.path.join(pose_dir, item), color)

@dklingmann
Copy link

There are several typos in compute_coordinates_for_video.py
While a SyntaxError is raised, the issue is in the previous line: line 259 is missing a ')'.
Just add the closing bracket: img = imread(os.path.join(img_dir, item))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants