alelab-upenn / graph-neural-networks

Library to implement graph neural networks in PyTorch
GNU General Public License v3.0
243 stars 61 forks source link

Prepare Env #15

Closed suitangmath closed 2 months ago

suitangmath commented 2 months ago

Description

Virtual Env

Create venv by the following CLIs python3 -m venv <env_name> source <env_name>/bin/activate pip3 install -r requirements

Code changes

  1. alegnn.utils and alegnn.modules are incorrectly imported. Fixed
  2. np.int and np.bool has been deprecated. Fixed
  3. torch.gather() needs int64 indices. Fixed.

Test

Created and run compact_tutorial.ipynb