GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - maximilianherde/grid_sample: Cuda implementation for gridsample with second derivative support

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

7 Commits
7 Commits

Folders and files

NameName
Last commit message
Last commit date
LICENSE.md
LICENSE.md
 
 
README.md
README.md
 
 
__init__.py
__init__.py
 
 
cuda_gridsample.py
cuda_gridsample.py
 
 
gridsample_cuda.cpp
gridsample_cuda.cpp
 
 
gridsample_cuda.cu
gridsample_cuda.cu
 
 
naive_gridsample.py
naive_gridsample.py
 
 
stylegan_gridsample.py
stylegan_gridsample.py
 
 
test2d.py
test2d.py
 
 
test3d.py
test3d.py
 
 

Repository files navigation

Cuda-based grid sample implimentation with second order derivative support.

For the forward and backward pass it uses the pytorch version of grid sample. Only the second backward is implimented here.

Tested only with Pytorch 10.1 and 10.2

Reflection padding is not supported

Usage:

import cuda_gridsample as cu

cu.grid_sample_2d(image, optical, padding_mode='border', align_corners=True)
cu.grid_sample_3d(volume, optical, padding_mode='border', align_corners=True)

About

Cuda implementation for gridsample with second derivative support

Resources

Readme
License
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.