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
When testing changing the AddRandomWalkPE transform in the graph_gps.py example to AddLaplacianEigenvectorPE, I got the error
torch_geometric/data/dataset.py:240: UserWarning: The `pre_transform` argument differs from the one used in the pre-processed version of this dataset. If you want to make use of another pre-processing technique, pass `force_reload=True` explicitly to reload the dataset.
Even after setting force_reload=True, the warning still appears.
"The `pre_filter` argument differs from the one used in "
"the pre-processed version of this dataset. If you want to "
"make use of another pre-fitering technique, pass "
"`force_reload=True` explicitly to reload the dataset.")
it looks as if the warning does not check force_reload. The warning appearing suggests ot the user that something is wrong. If I understand the behavior correctly, once force_reload=True the user had done everything correctly. I suggest suppressing the warning if force_reload=True.
Suggest a potential alternative/fix
Hide the warning when force_reload=True
The text was updated successfully, but these errors were encountered:
📚 Describe the documentation issue
When testing changing the
AddRandomWalkPE
transform in thegraph_gps.py
example toAddLaplacianEigenvectorPE
, I got the errorEven after setting
force_reload=True
, the warning still appears.Looking at the source at
pytorch_geometric/torch_geometric/data/dataset.py
Lines 236 to 253 in facf0c4
it looks as if the warning does not check
force_reload
. The warning appearing suggests ot the user that something is wrong. If I understand the behavior correctly, onceforce_reload=True
the user had done everything correctly. I suggest suppressing the warning ifforce_reload=True
.Suggest a potential alternative/fix
Hide the warning when
force_reload=True
The text was updated successfully, but these errors were encountered: