You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enter your own video and .txt runtime
if name == "main":
parser = argparse.ArgumentParser()
#print("1111")
parser.add_argument("--video_path",default="./assets/3.mp4", help="Input video path or directory of frames.")
parser.add_argument("--txt_path",default="./assets/test.txt", help="Path to ground truth text file.")
parser.add_argument("--model_path", default="sam2/checkpoints/sam2.1_hiera_base_plus.pt", help="Path to the model checkpoint.")
parser.add_argument("--video_output_path", default="./assets/output.mp4", help="Path to save the output video.")
parser.add_argument("--save_to_video", default=True, help="Save results to a video.")
args = parser.parse_args()
main(args)
The following questions will appear. Please help me answer the specific reasons. thank you
/home/cyy/anaconda3/envs/samurai/bin/python /home/cyy/code/grp/samurai-master/demo.py
SAMURAI mode: True
Process finished with exit code 137 (interrupted by signal 9: SIGKILL)
The text was updated successfully, but these errors were encountered:
Enter your own video and .txt runtime
if name == "main":
parser = argparse.ArgumentParser()
#print("1111")
parser.add_argument("--video_path",default="./assets/3.mp4", help="Input video path or directory of frames.")
parser.add_argument("--txt_path",default="./assets/test.txt", help="Path to ground truth text file.")
parser.add_argument("--model_path", default="sam2/checkpoints/sam2.1_hiera_base_plus.pt", help="Path to the model checkpoint.")
parser.add_argument("--video_output_path", default="./assets/output.mp4", help="Path to save the output video.")
parser.add_argument("--save_to_video", default=True, help="Save results to a video.")
args = parser.parse_args()
main(args)
The following questions will appear. Please help me answer the specific reasons. thank you
/home/cyy/anaconda3/envs/samurai/bin/python /home/cyy/code/grp/samurai-master/demo.py
SAMURAI mode: True
Process finished with exit code 137 (interrupted by signal 9: SIGKILL)
The text was updated successfully, but these errors were encountered: