You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the reference benchmark script for GAT here, the --normalize-features option is probably not behaving what it is intended to do. As noted by the official Python argparse documentation
The bool() function is not recommended as a type converter. All it does is convert empty strings to False and non-empty strings to True. This is usually not what is desired.
In other words,
python gat.py --dataset=Cora --normalize_features=False # this will silently evaluate to normalize_features=True
python gat.py --dataset=Cora --normalize_features=0 # same problem as above, since "0" is a string
python gat.py --dataset=Cora --normalize_features=""# the only way to turn off feature normalization correctly
🐛 Describe the bug
In the reference benchmark script for GAT here, the
--normalize-features
option is probably not behaving what it is intended to do. As noted by the official Python argparse documentationIn other words,
One alternative would be
It is not a huge bug, but I think it would improve usability for the users, as well as providing better reference scripts.
Environment
conda
,pip
, source): PyTorch through conda, PyG through piptorch-scatter
): NAThe text was updated successfully, but these errors were encountered: