Comments (3)
Hi! Thanks for sharing. Are you using MacOS?
from topologylayer.
I am also encountering the same error with the following specifications:
numpy==1.16.4 scipy==1.2.1 torch==1.1.0
python3.6.8
centos 4.18.0-193.28.1.el8_2.x86_64
gcc-c++-8.3.1-5.el8.0.2.x86_64
I built from source using python setup.py install --record files.txt
Could you please help?
from topologylayer.
I also had the error reported by @changshuowang on Ubuntu 21.10. Here are two setups that show the error and one that works. After installing the requirements with conda, I installed topologylayer with pip.
Error setup (1), requirements.yml:
channels:
- pytorch
- defaults
- conda-forge
dependencies:
- cudatoolkit=11.3.1
- matplotlib=3.4.3
- numpy=1.21.2
- python=3.9.7
- pytorch=1.9.0
- scipy=1.7.1
resulting in the following package versions:
- _libgcc_mutex=0.1=main
- _openmp_mutex=4.5=1_gnu
- cpuonly=1.0=0
- cudatoolkit=11.3.1=h2bc3f7f_2
- libgcc-ng=9.3.0=h5101ec6_17
- libgomp=9.3.0=h5101ec6_17
- libstdcxx-ng=9.3.0=hd4cf53a_17
- pytorch=1.9.0=py3.9_cpu_0
Error:
>> import topologylayer ImportError: /path/to/environment/lib/python3.9/site-packages/ topologylayer/functional/persistence.cpython-39-x86_64-linux-gnu.so: undefined symbol: _ZNSt15__exception_ptr13exception_ptr10_M_releaseEv
Error setup (2), requirements.yml (with versions as specified in the requirements file of this repository):
channels:
- pytorch
- defaults
- conda-forge
dependencies:
- matplotlib
- numpy=1.16.4
- pytorch=1.1.0
- scipy=1.2.1
- torchvision
resulting in the following package versions:
- _libgcc_mutex=0.1=main
- _openmp_mutex=4.5=1_gnu
- cudatoolkit=10.0.130=0
- libgcc-ng=9.3.0=h5101ec6_17
- libgomp=9.3.0=h5101ec6_17
- libstdcxx-ng=9.3.0=hd4cf53a_17
- python=3.7.11=h12debd9_0
- pytorch=1.1.0=py3.7_cuda10.0.130_cudnn7.5.1_0
Error:
>> import topologylayer ImportError: /path/to/environment/lib/python3.7/site-packages/ topologylayer/functional/persistence.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _ZNSt15__exception_ptr13exception_ptr10_M_releaseEv
Working setup, requirements.yml:
channels:
- pytorch
- defaults
- conda-forge
dependencies:
- cudatoolkit=11.1.1
- matplotlib=3.4.3
- numpy=1.21.2
- python=3.9.7
- pytorch=1.9.0
- scipy=1.7.1
resulting in the following package versions:
- _libgcc_mutex=0.1=conda_forge
- _openmp_mutex=4.5=1_llvm
- cudatoolkit=11.1.1=h6406543_9
- libgcc-ng=11.2.0=h1d223b6_11
- libstdcxx-ng=11.2.0=he4da1e4_11
- llvm-openmp=12.0.1=h4bd325d_1
- pytorch=1.9.0=py3.9_cuda11.1_cudnn8.0.5_0
from topologylayer.
Related Issues (20)
- Conda install did not work HOT 8
- 1d Persistent Homology compared with ripser.py
- ImportError: cannot import name 'SimplicialComplex' HOT 3
- Help with Topological Regularization HOT 4
- cannot install the package HOT 1
- How to remove irrelevant bars
- Skip parameter i0 in BarcodePolyFeature
- question about the dimension for computing homological features
- LevelSetLayer3D HOT 1
- loss.backwards() error
- Hello,is it availiable for the segmentation of 3D point cloud data?
- Topological Loss used in Keras model
- ModuleNotFoundError: No module named 'dionysus' HOT 1
- How to find the points corresponding to a specific homology class
- Maximum homology dimension in Alpha layer
- Error while setting up Dinoysus HOT 1
- What does this do intutively do wrt persistent Homology on images.
- Distance between points
- How to extend the levelset filtration to 3D?
- How to costruct the Fig 15 of the paper using a different image
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from topologylayer.