Skip to content

Some problems about torch_sampling when running the reproduction code #4

@geeknco

Description

@geeknco

Dear authors,

Your work is quite impressive and insightful.

After installing all the dependencies as you noted, I still failed to run your reproduction code. Specifically, I ran the command ./tsp{N}_test_{decoder}.sh tsp{N}, and it reported:

Traceback (most recent call last):
  File "./test_AS_MCTS.py", line 1, in <module>
    from inc.tsp_args import *
  File "/home/Documents/DIMES-main/TSP/TSP-KNN/inc/tsp_args.py", line 3, in <module>
    from inc.utils import *
  File "/home/Documents/DIMES-main/TSP/TSP-KNN/inc/utils.py", line 1, in <module>
    from inc.header import *
  File "/home/Documents/DIMES-main/TSP/TSP-KNN/inc/header.py", line 24, in <module>
    import torch_sampling as pysa
ImportError: /home/.conda/envs/dimes/lib/python3.8/site-packages/torch_sampling.cpython-38-x86_64-linux-gnu.so: undefined symbol: _Z15segment_csr_cpuN2at6TensorES0_N3c108optionalIS0_EESs

After many trials and reinstallation, the issue persist. So I wonder how to fix it.

Thanks a lot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions