Skip to content

Commit

Permalink
Merge pull request #6 from luost26/code
Browse files Browse the repository at this point in the history
Upload code
  • Loading branch information
luost26 committed Jul 3, 2021
2 parents f9b02c9 + b3013ef commit 84a833e
Show file tree
Hide file tree
Showing 31 changed files with 2,652 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -129,3 +129,6 @@ dmypy.json
.pyre/

.DS_Store
/playgrounds
/logs*
/results*
2 changes: 2 additions & 0 deletions data/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!.gitignore
114 changes: 114 additions & 0 deletions env.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
name: dpm-pc-gen
channels:
- pytorch
- conda-forge
- defaults
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=4.5=1_gnu
- absl-py=0.13.0=pyhd8ed1ab_0
- aiohttp=3.7.4.post0=py37h5e8e339_0
- async-timeout=3.0.1=py_1000
- attrs=21.2.0=pyhd8ed1ab_0
- blas=1.0=mkl
- blinker=1.4=py_1
- brotlipy=0.7.0=py37h5e8e339_1001
- c-ares=1.17.1=h7f98852_1
- ca-certificates=2021.5.30=ha878542_0
- cached-property=1.5.2=hd8ed1ab_1
- cached_property=1.5.2=pyha770c72_1
- cachetools=4.2.2=pyhd8ed1ab_0
- certifi=2021.5.30=py37h89c1867_0
- cffi=1.14.5=py37hc58025e_0
- chardet=4.0.0=py37h89c1867_1
- click=8.0.1=py37h89c1867_0
- cryptography=3.4.7=py37h5d9358c_0
- cudatoolkit=10.1.243=h6bb024c_0
- dataclasses=0.8=pyhc8e2a94_1
- freetype=2.10.4=h5ab3b9f_0
- google-auth=1.32.0=pyh6c4a22f_0
- google-auth-oauthlib=0.4.1=py_2
- grpcio=1.38.1=py37hb27c1af_0
- h5py=3.3.0=nompi_py37ha3df211_100
- hdf5=1.10.6=nompi_h7c3c948_1111
- idna=2.10=pyh9f0ad1d_0
- importlib-metadata=4.6.0=py37h89c1867_0
- intel-openmp=2021.2.0=h06a4308_610
- joblib=1.0.1=pyhd8ed1ab_0
- jpeg=9b=h024ee3a_2
- krb5=1.19.1=hcc1bbae_0
- lcms2=2.12=h3be6417_0
- ld_impl_linux-64=2.35.1=h7274673_9
- libblas=3.9.0=9_mkl
- libcblas=3.9.0=9_mkl
- libcurl=7.77.0=h2574ce0_0
- libedit=3.1.20191231=he28a2e2_2
- libev=4.33=h516909a_1
- libffi=3.3=he6710b0_2
- libgcc-ng=9.3.0=h5101ec6_17
- libgfortran-ng=7.5.0=h14aa051_19
- libgfortran4=7.5.0=h14aa051_19
- libgomp=9.3.0=h5101ec6_17
- libnghttp2=1.43.0=h812cca2_0
- libpng=1.6.37=hbc83047_0
- libprotobuf=3.17.2=h780b84a_0
- libssh2=1.9.0=ha56f1ee_6
- libstdcxx-ng=9.3.0=hd4cf53a_17
- libtiff=4.2.0=h85742a9_0
- libwebp-base=1.2.0=h27cfd23_0
- llvm-openmp=8.0.1=hc9558a2_0
- lz4-c=1.9.3=h2531618_0
- markdown=3.3.4=pyhd8ed1ab_0
- mkl=2021.2.0=h06a4308_296
- mkl-service=2.3.0=py37h27cfd23_1
- mkl_fft=1.3.0=py37h42c9631_2
- mkl_random=1.2.1=py37ha9443f7_2
- multidict=5.1.0=py37h5e8e339_1
- ncurses=6.2=he6710b0_1
- ninja=1.10.2=hff7bd54_1
- numpy=1.20.2=py37h2d18471_0
- numpy-base=1.20.2=py37hfae3a4d_0
- oauthlib=3.1.1=pyhd8ed1ab_0
- olefile=0.46=py37_0
- openmp=8.0.1=0
- openssl=1.1.1k=h7f98852_0
- pillow=8.2.0=py37he98fc37_0
- pip=21.1.3=py37h06a4308_0
- point_cloud_utils=0.18.0=py37h6dcda5c_1
- protobuf=3.17.2=py37hcd2ae1e_0
- pyasn1=0.4.8=py_0
- pyasn1-modules=0.2.7=py_0
- pycparser=2.20=pyh9f0ad1d_2
- pyjwt=2.1.0=pyhd8ed1ab_0
- pyopenssl=20.0.1=pyhd8ed1ab_0
- pysocks=1.7.1=py37h89c1867_3
- python=3.7.10=h12debd9_4
- python_abi=3.7=2_cp37m
- pytorch=1.6.0=py3.7_cuda10.1.243_cudnn7.6.3_0
- pyu2f=0.1.5=pyhd8ed1ab_0
- readline=8.1=h27cfd23_0
- requests=2.25.1=pyhd3deb0d_0
- requests-oauthlib=1.3.0=pyh9f0ad1d_0
- rsa=4.7.2=pyh44b312d_0
- scikit-learn=0.24.2=py37h18a542f_0
- scipy=1.6.2=py37had2a1c9_1
- setuptools=52.0.0=py37h06a4308_0
- six=1.16.0=pyhd3eb1b0_0
- sqlite=3.36.0=hc218d9a_0
- tensorboard=2.5.0=pyhd8ed1ab_0
- tensorboard-data-server=0.6.0=py37h7f0c10b_0
- tensorboard-plugin-wit=1.8.0=pyh44b312d_0
- threadpoolctl=2.1.0=pyh5ca1d4c_0
- tk=8.6.10=hbc83047_0
- torchvision=0.7.0=py37_cu101
- tqdm=4.61.1=pyhd8ed1ab_0
- typing-extensions=3.10.0.0=hd8ed1ab_0
- typing_extensions=3.10.0.0=pyha770c72_0
- urllib3=1.26.6=pyhd8ed1ab_0
- werkzeug=2.0.1=pyhd8ed1ab_0
- wheel=0.36.2=pyhd3eb1b0_0
- xz=5.2.5=h7b6447c_0
- yarl=1.6.3=py37h5e8e339_1
- zipp=3.4.1=pyhd8ed1ab_0
- zlib=1.2.11=h7b6447c_3
- zstd=1.4.9=haebb681_0
1 change: 1 addition & 0 deletions evaluation/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
StructuralLosses
14 changes: 14 additions & 0 deletions evaluation/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Evaluation

From [https://github.com/stevenygd/PointFlow/tree/master/metrics](https://github.com/stevenygd/PointFlow/tree/master/metrics)

Modifications:

| Position | Original | Modified |
| ----------------- | ------------------------------ | ----------------------------------- |
| Makefile:9 | `/usr/local/cuda/bin/nvcc` | `/usr/local/cuda-10.0/bin/nvcc` |
| Makefile:69,70 | `c++11` | `c++14` |
| Makefile:74,75 | `lib.linux-x86_64-3.6` | `lib.linux-x86_64-3.7` |
| Pybind/bind.cpp:5 | `#include "pybind/extern.hpp"` | `#include "extern.hpp"` |
| \__init__.py | | `from .evaluation_metrics import *` |

2 changes: 2 additions & 0 deletions evaluation/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from .evaluation_metrics import *
from .evaluation_metrics import _pairwise_EMD_CD_, _jsdiv
Loading

0 comments on commit 84a833e

Please sign in to comment.