Skip to content

Repository files navigation

deepali(Paddle Backend)

Important

This branch(paddle) experimentally supports Paddle backend as almost all the core code has been completely rewritten using the Paddle API.

It is recommended to install nightly-build(develop) Paddle before running any code in this branch.

Install:

# paddlepaddle develop
python -m pip install --pre paddlepaddle-gpu -i https://www.paddlepaddle.org.cn/packages/nightly/cu118/
# setup config file is pyproject.toml
pip install .# test
pytest -v ./tests

example code

importpaddlefromdeepali.coreimportbsplineasBkernel=B.cubic_bspline_interpolation_weights(5)
assertisinstance(kernel, paddle.Tensor)
asserttuple(kernel.shape) == (5, 4)
assertpaddle.allclose(
x=kernel, y=B.cubic_bspline_interpolation_weights(5, derivative=0)
).item()

About

About Image, point set, and surface registration in Paddle.

Topics

Resources

Stars

0 stars

Watchers

5 watching

Forks

Releases

Contributors

Languages