TOGL: ModuleNotFoundError: No module named 'torch_persistent_homology.persistent_homology_cpu'

Hi, thank you for your codebase. While I set the environment for torch-persistent-homology in Win10 system, I met many problems. So I changed to a Ubuntu server. I read the issues in https://github.com/ExpectationMax/torch_persistent_homology/issues/1, so I use Anaconda3 to bulid a Python3.8 virtual envrionment and installed torch==1.12.1, torch-geometric==2.1.0, scipy==1.7.3. Then I installed torch-persistent-homology with the command pip install . , it goes well. And I checked my environment with conda list, it’s listed up there. But when I trid to test it with >>> from torch_persistent_homology.persistent_homology_cpu import compute_persistence_homology_batched_mt The result comes to an error Traceback (most recent call last): File "<stdin>", line 1, in <module> ModuleNotFoundError: No module named 'torch_persistent_homology.persistent_homology_cpu' I don’t know why I still can’t use it, so I would like to ask for your help, thank you.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 29

Most upvoted comments

We should move this conversation to pytorch-topological for simplicity.

ad 1: Yes. ad 2: No, I am not using the persistent_homology_cpu package for this. ad 3: The features that are described in the issue are not needed to run TOGL; in the paper, we were also restricted to the same setting. The issue refers to the fact that an improved representation should ideally handle all these aspects.