josipd/torch-two-sample

Numerous build errors

rmurphy2718 opened this issue · 0 comments

Hi,

I just ran python setup.py test and got mostly failures. It's not clear which dependencies I am missing, or whether that's the only problem

  1. How can I determine the dependencies?
  2. If the issue is with dependencies , perhaps this is a docs issue as well (just saying this to help :) )

==================================== short test summary info =====================================
FAILED tests/inference_trees_test.py::test_cardinality - AttributeError: module 'torch' has no ...
FAILED tests/inference_trees_test.py::test_chain - AttributeError: module 'torch' has no attrib...
FAILED tests/inference_trees_test.py::test_cycle - AttributeError: module 'torch' has no attrib...
FAILED tests/inference_trees_test.py::test_dumbbell - AttributeError: module 'torch' has no att...
FAILED tests/statistics_diff_test.py::test_mean_std - AttributeError: module 'torch' has no att...
FAILED tests/statistics_diff_test.py::test_mmd - ModuleNotFoundError: No module named 'modshogun'
FAILED tests/statistics_nondiff_test.py::test_k_smallest - TypeError: forward() missing 2 requi...
FAILED tests/statistics_nondiff_test.py::test_mst - TypeError: forward() missing 1 required pos...
FAILED tests/statistics_nondiff_test.py::test_fr - IndexError: invalid index of a 0-dim tensor....
FAILED tests/statistics_nondiff_test.py::test_1nn - IndexError: invalid index of a 0-dim tensor...
FAILED tests/statistics_nondiff_test.py::test_1nn_smooth - IndexError: invalid index of a 0-dim...
FAILED tests/util_test.py::test_pdist - assert False
============================ 12 failed, 3 passed, 8 warnings in 9.92s ============================

I am running

pytorch 1.4.0, py3.7_cpu_0 [cpuonly]

managed by

conda 4.7.12

with version

Python 3.7.7

on a Linux OS.