Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: forward() missing 1 required positional argument: 'frames' #8

Closed
pansanity666 opened this issue Feb 14, 2022 · 1 comment

Comments

@pansanity666
Copy link

pansanity666 commented Feb 14, 2022

In infer_vos.py, Line 211 and 237, I've got the TypeError: forward() missing 1 required positional argument: 'frames' , after I change them as keyward arguments (frames=frames[:1]), the error solved. Is it a bug or something related to my environment? I haven't found the reason yet since the frames is not a keyward arguments in framework.py

By the way, does your evaluation script support Multi-GPU inference? It seems that inference on YouTube-VOS will take a very long time ?

Best,

@arnike
Copy link
Collaborator

arnike commented Jul 6, 2022

Hi and sorry for a very late reply.
Did you make any changes to the original code prior to getting this error? Otherwise it's hard say.
Regarding the YouTube-VOS evaluation -- it is indeed quite time consuming. Currently implementation is only single GPU, but could be potentially extended. You'd only need to be careful with i/o throughput, especially if you're saving visualisations.

Best regards, Nikita

@arnike arnike closed this as completed Jul 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants