py-ocnn: new package (octree-based sparse CNN) (#37030)

O-CNN is an octree-based sparse convolutional neural network framework for 3D deep learning. It is built on py-torch.
This commit is contained in:
Wouter Deconinck 2023-04-20 21:43:47 -05:00 committed by GitHub
parent e3109a96d4
commit 4f13e2fa15
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,24 @@
# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack.package import *
class PyOcnn(PythonPackage):
"""O-CNN is an octree-based sparse convolutional neural network
framework for 3D deep learning."""
homepage = "https://github.com/octree-nn/ocnn-pytorch"
pypi = "ocnn/ocnn-2.2.0.tar.gz"
maintainers("wdconinc")
version("2.2.0", sha256="5fb54305130921ece4cccf1697ec281f49d3e95837ba0e124cab9f8a567ecb80")
depends_on("python@3.6:", type=("build", "run"))
depends_on("py-setuptools", type="build")
depends_on("py-torch@1.6.0:", type=("build", "run"))
depends_on("py-numpy", type=("build", "run"))