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

python run_image.py #13

Open
aboudjelal opened this issue Feb 4, 2022 · 0 comments
Open

python run_image.py #13

aboudjelal opened this issue Feb 4, 2022 · 0 comments

Comments

@aboudjelal
Copy link

I want to test run_image.py function but not working, please give me a solution
Thanks

/graph-neural-pde/src$ python run_image.py
[pyKeOps]: Warning, cuda was detected, but driver API could not be initialized. Switching to cpu only.
Loading Data
creating in_memory_datasets
$anaconda3/envs/grand_2/lib/python3.7/site-packages/torch_geometric/deprecation.py:13: UserWarning: 'data.DataLoader' is deprecated, use 'loader.DataLoader' instead
warnings.warn(out)
creating GNN model
Traceback (most recent call last):
File "run_image.py", line 340, in
main(opt)
File "run_image.py", line 164, in main
model = GNN_image(opt, batch, opt['num_class'], device).to(device)
File "/home/graph-neural-pde/src/GNN_image.py", line 22, in init
range(self.n_ode_blocks)]).to(self.device)
File "/home/anaconda3/envs/grand_2/lib/python3.7/site-packages/torch/nn/modules/module.py", line 948, in getattr
type(self).name, name))
AttributeError: 'GNN_image' object has no attribute 'n_ode_blocks'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant