annayding commited on
Commit
703d0c4
1 Parent(s): 0e8e3a4

file system

Browse files
Files changed (1) hide show
  1. owl_core.py +1 -2
owl_core.py CHANGED
@@ -57,8 +57,7 @@ def owl_full_video(
57
 
58
  # create new dirs and paths for results
59
  filename = os.path.splitext(os.path.basename(vid_path))[0]
60
- os.makedirs("results", exist_ok=True)
61
- results_dir = f'/results/{filename}_{datetime.now().strftime("%H%M%S")}'
62
  frames_dir = os.path.join(results_dir, "frames")
63
 
64
  # if the frames directory does not exist, create it and get the frames from the video
 
57
 
58
  # create new dirs and paths for results
59
  filename = os.path.splitext(os.path.basename(vid_path))[0]
60
+ results_dir = f'../results/{filename}_{datetime.now().strftime("%H%M%S")}'
 
61
  frames_dir = os.path.join(results_dir, "frames")
62
 
63
  # if the frames directory does not exist, create it and get the frames from the video