lenscloth / RKD

Official pytorch Implementation of Relational Knowledge Distillation, CVPR 2019
395 stars 49 forks source link

metric/utils.py #3

Closed ivylinden closed 5 years ago

ivylinden commented 5 years ago

Hello,Thanks for your work, I run the code, it raise the follwing error: In metric/utils.py prod = e @ e.t(): SyntaxError: invalid syntax

lenscloth commented 5 years ago

Thank you for showing interest in RKD!

Can you specify your python environment and pytorch version that you are using?

ivylinden commented 5 years ago

Hi,I solved the problem ,It's because the python version:python 2 not supports the operation '@' .Thank you for repling