ethanfetaya / NRI

Neural relational inference for interacting systems - pytorch
MIT License
739 stars 157 forks source link

'args' is an undefined name in utils.py #2

Closed cclauss closed 6 years ago

cclauss commented 6 years ago

flake8 testing of https://github.com/ethanfetaya/NRI on Python 3.6.3

$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics

./utils.py:459:24: F821 undefined name 'args'
        const = np.log(args.edge_types)
                       ^
tkipf commented 6 years ago

Thanks for catching this - I'll push a fix ASAP.

tkipf commented 6 years ago

Fixed with https://github.com/ethanfetaya/NRI/pull/3 - we only need to wait for @ethanfetaya to merge.