ronghui19
ronghui19
可以拉下我嘛 iatt88
` 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)`
code above is a way to create fake data. But sometime image's over distorted and it's flipped. Can anyone spot the mistake i made? Here is the question i asked...
args.data_root = 'datasets/demo/frames/' not args.data_root = '/datasets/demo/frames/'
CHANGE args.data_root = '/datasets/demo/frames/' TO args.data_root = 'datasets/demo/frames/'
can anyone tell me how to do real-time inference?