Skip to content

Instantly share code, notes, and snippets.

@aquadzn
Last active November 25, 2023 20:47
Show Gist options
  • Save aquadzn/32ac53aa6e485e7c3e09b1a0914f7422 to your computer and use it in GitHub Desktop.
Save aquadzn/32ac53aa6e485e7c3e09b1a0914f7422 to your computer and use it in GitHub Desktop.
DINO Video inference
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@felipe-parodi
Copy link

Has anyone tried using the other models? I get several size mismatch errors

@Bennetash
Copy link

Has anyone tried using the other models? I get several size mismatch errors

I have not trained it with another network, but I will try and tell you.

@patriciajelee
Copy link

Can anyone help me out here? I've tried changing args.input_path to "../input/" and args.output_dir to "../output/" as suggested above but keep running into the following error:

predict_video(args)

IsADirectoryError Traceback (most recent call last)
in ()
----> 1 predict_video(args)

in predict_video(args)
1 def predict_video(args):
2 for frame in sorted(os.listdir(args.image_path)):
----> 3 with open(os.path.join(args.image_path, frame), 'rb') as f:
4 img = Image.open(f)
5 img = img.convert('RGB')

IsADirectoryError: [Errno 21] Is a directory: '../input/.ipynb_checkpoints'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment