DirtyHarryLYL / DJ-RN

As a part of HAKE project (HAKE-3D). Code for our CVPR2020 paper "Detailed 2D-3D Joint Representation for Human-Object Interaction".
Apache License 2.0
100 stars 13 forks source link

line 45 of script/Download_data.py should change from `is not` to `!=` #51

Closed monacv closed 3 years ago

monacv commented 3 years ago

https://github.com/DirtyHarryLYL/DJ-RN/blob/master/script/Download_data.py Screenshot from 2021-05-25 18-36-00 throws errors:

(djrn) [jalal@goku DJ-RN]$ python script/Download_data.py 1l48pyX-9FWFMNuokdbBp6KshKSDBihAe Feature_extraction.tar
script/Download_data.py:45: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if len(sys.argv) is not 3:
monacv commented 3 years ago

go to line 45: change is not to !=: if len(sys.argv) != 3: