Description
hello, I'm running consolidate_datasets.py and got these errors, could you please tell me what cause them? Thank you sooo much.
File "/Users/z/Desktop/transnetv2/consolidate_datasets.py", line 215, in
clipshots_dataset(CLIPSHOTS_TRN_txt_files, CLIPSHOTS_TRN_mp4_files, CLIPSHOTS_TRN_target_dir)
File "/Users/z/Desktop/transnetv2/consolidate_datasets.py", line 208, in clipshots_dataset
visualize_scenes(video, scenes).save(save_to + ".png")
File "/Users/z/Desktop/transnetv2/visualization_utils.py", line 55, in visualize_scenes
draw_end_frame(end)
File "/Users/z/Desktop/transnetv2/visualization_utils.py", line 33, in draw_end_frame
draw.rectangle([(w * iw + iw - 1, h * ih), (w * iw + iw - 3, h * ih + ih - 1)], fill=(255, 0, 0))
File "/Users/z/opt/anaconda3/lib/python3.9/site-packages/PIL/ImageDraw.py", line 292, in rectangle
self.draw.draw_rectangle(xy, fill, 1)
ValueError: x1 must be greater than or equal to x0