taolei87/icml17_knn

missing functions

Opened this issue · 1 comments

it seems that there are some scripts missing in utils.
When trying to execute nntest.py I receive the following:

File "nntest.py", line 2, in
from utils.nn import linearND, linear
ImportError: No module named utils.nn

Hi,

Suppose you downloaded our code at $BASEDIR/graph_knn, please run the following command to add all modules in the pythonpath.

export PYTHONPATH=$BASEDIR/graph_knn

Then python will not complain about "no module named utils.nn"