We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9864a3 commit 8268d4cCopy full SHA for 8268d4c
demo/inference.py
@@ -197,7 +197,7 @@ def parse_args():
197
def get_image_paths(video_path):
198
image_names= sorted(filter(lambda x: x[-4: ]==".png", os.listdir(video_path)))
199
200
- full_image_paths = list(map(lambda x: (video_path +x).replace("\n", ""), image_names))
+ full_image_paths = list(map(lambda x: os.path.join(video_path, x), image_names))
201
images_list = full_image_paths
202
return images_list
203
0 commit comments