Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove warning generated in few examples #9186

Merged
merged 5 commits into from
Apr 11, 2024

Conversation

drivanov
Copy link
Contributor

@drivanov drivanov commented Apr 10, 2024

With this fix, the following warnings:

/usr/local/lib/python3.10/dist-packages/torch_geometric/data/in_memory_dataset.py:301: UserWarning: It is not recommended 
to directly access the internal storage format `data` of an 'InMemoryDataset'. If you are absolutely certain what you 
are doing, access the internal storage via `InMemoryDataset._data` instead to suppress this warning. Alternatively, 
you can access stacked individual attributes of every graph via `dataset.{attr_name}`.

will no longer be generated in mem_pool.py, proteins_dmon_pool.py, proteins_mincut_pool.py, seal_link_pred.py examples.

@drivanov drivanov changed the title Remove warning generated in examples/mem_pool.py. Remove warning generated in few examples. Apr 10, 2024
@rusty1s rusty1s changed the title Remove warning generated in few examples. Remove warning generated in few examples Apr 11, 2024
@rusty1s rusty1s merged commit f0a07cd into pyg-team:master Apr 11, 2024
13 of 16 checks passed
@drivanov drivanov deleted the direct_access branch April 11, 2024 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants