petecheng / Time2Graph

Source codes for Time2Graph model.
133 stars 33 forks source link

Anyone with problem: name 'module_path' is not defined? #5

Open soul44d4 opened 1 year ago

soul44d4 commented 1 year ago

Thanks for sharing! This is my first time coping code from Github so might meet a lot of stupid problems... As title, I am trying to figure out the issue that it can't find 'module_path' in 'fit' function that was defined in class 'Time2Graph' in model.py. Problem might be appreared the same in run.py.

petecheng commented 1 year ago

module_path is defined in config.py. Probably you forget to export PYTHONPATH as introduced in README?