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

GNS Installation issue #84

Open
ramc77 opened this issue Jul 23, 2024 · 4 comments
Open

GNS Installation issue #84

ramc77 opened this issue Jul 23, 2024 · 4 comments

Comments

@ramc77
Copy link

ramc77 commented Jul 23, 2024

Dear Developers,
I am unable to install GNS on my macOS and also on Windows 10 (anaconda or WSL). Whenever I run this command I get erros:

python3 -m gns.train --data_path="" --model_path="" --model_file="model.pt" --train_state_file="train_state.pt" --ntraining_steps=100

It says:
/usr/bin/python3: No module named gns.train

I couldn't find step-by-step instructions on the installation of gns anywhere.
Thank you,
Ram

@yjchoi1
Copy link
Collaborator

yjchoi1 commented Jul 23, 2024

Thanks for your question. Could you let me know where did you run the above command?

@ramc77
Copy link
Author

ramc77 commented Jul 23, 2024

Thank you for your reply. I follow up on all instructions given on the github as follows:

Building GNS on MacOS
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
pip3 install torch_geometric
pip3 install pyg_lib torch_scatter torch_sparse torch_cluster torch_spline_conv -f https://data.pyg.org/whl/torch-2.3.0+cpu.html
pip3 install -r requirements.txt

Also, I did the same for (on Windows 10):

conda install -y pytorch torchvision torchaudio cpuonly -c pytorch
conda install -y pyg -c pyg
conda install -y pytorch-cluster -c pyg
conda install -y absl-py -c anaconda
conda install -y numpy dm-tree matplotlib-base pyevtk -c conda-forge

After that, I downloaded the datasets as per instructions and run this command:

Run GNS/MeshNet
Training GNS/MeshNet on simulation data

python3 -m gns.train --data_path="" --model_path="" --ntraining_steps=100

I tried the other ways too but failed to run the code.

@ramc77
Copy link
Author

ramc77 commented Jul 23, 2024

I am trying to install and run this: https://github.com/geoelements/gns

@parkergu
Copy link

parkergu commented Oct 4, 2024

Hello, I am also unable to install GNS on my ubuntu. Could you provide specific installation instruction?

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

3 participants