Haibin Wang
Haibin Wang
I attempted to integrate VBench into my project, but encountered difficulties due to its incompatibility with versions of PyTorch earlier than 2.0 :(
At Line 151 in `vbench/utils.py`, 'Tensor' object has no attribute 'asnumpy'.
> At Line 151 in `vbench/utils.py`, 'Tensor' object has no attribute 'asnumpy'. It seems that `decord` will return a Tensor when evaluating multi dimensions.
> I could not replicate this issue. Can you provide the packages version and run command? It should not return a Tensor as it was already reset back to native...
You can use the get_complexity function in Vision_TransformerSuper to obtain the flops numbers.
The image size is 224x224 in ImageNet. The patch size in ViT is 16x16. So I think the sequence_length is 14x14 for three supernets.
Thank you very much for your response. I have carefully reviewed this portion of the code and noticed that static metrics, such as temporal flickering and motion smoothness, are assigned...
你好, 执行之前尝试执行一下export PYTHONPATH=${PWD}试试。