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: __init__() got an unexpected keyword argument 'video_name' (when running tools/prepare_query_tube_vps.py) #8

Open
kawuu opened this issue Apr 4, 2024 · 1 comment

Comments

@kawuu
Copy link

kawuu commented Apr 4, 2024

Hi,

I've been working with prepare_query_tube_vps.py for the past three days, attempting multiple installations to resolve an issue I keep encountering. Despite my efforts, I'm consistently faced with a TypeError that I can't seem to overcome.

The error message I receive is as follows: TypeError: init() got an unexpected keyword argument 'video_name'.

Has anyone else experienced this problem or have any insights on how to resolve it? I'm looking for any guidance or suggestions on how to proceed.

Thank you in advance for your help!

image

image

@Jingkang50
Copy link
Collaborator

Jingkang50 commented Apr 4, 2024

Thank you for your interest in our project!

It seems like if you run prepare_query_tube_vps.py, the dataset class should be
PVSGVideoSingleVideoDataset rather than PVSGVideoDataset which causes the error here.
Did you somehow merge some configs when you were running the script?
Is prepare_query_tube_ips.py shows similar results?

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