Skip to content

Commit 8268d4c

Browse files
committed
bug fix
1 parent c9864a3 commit 8268d4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demo/inference.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ def parse_args():
197197
def get_image_paths(video_path):
198198
image_names= sorted(filter(lambda x: x[-4: ]==".png", os.listdir(video_path)))
199199

200-
full_image_paths = list(map(lambda x: (video_path +x).replace("\n", ""), image_names))
200+
full_image_paths = list(map(lambda x: os.path.join(video_path, x), image_names))
201201
images_list = full_image_paths
202202
return images_list
203203

0 commit comments

Comments
 (0)