wjun0830 / QD-DETR

Official pytorch repository for "QD-DETR : Query-Dependent Video Representation for Moment Retrieval and Highlight Detection" (CVPR 2023 Paper)
https://arxiv.org/abs/2303.13874
Other
183 stars 13 forks source link

TypeError: unsupported operand type(s) for /: 'dict' and 'float' #25

Closed ceyxasm closed 10 months ago

ceyxasm commented 11 months ago

QD-DETR-main/run_on_video/data_utils.py", line 89, in call tensor = tensor / 255.0

I cross-checked at tensor is indeed dict type.

wjun0830 commented 11 months ago

Thanks for the interest. What experiment are you running? You might want to check the environment. Our python version is 3.7.4.

ceyxasm commented 11 months ago

@wjun0830 I was trying to run run_on_video experiment. My version of python is 3.7.16

wjun0830 commented 11 months ago

Do you mean that you ran the command "python run_on_video/run.py"? When I ran the above command by myself, it does not yield any errors.

ceyxasm commented 10 months ago

There were tons of dependency issues which was causing it. Got it to work. Hence closing.