Coder Social home page Coder Social logo

lhoangan / arap_flow Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 1.0 24.71 MB

This is the implementation for the paper "Automatic Generation of Dense Non-rigid Optical Flow"

Makefile 1.05% C++ 27.25% C 3.63% Batchfile 0.11% Terra 53.60% Perl 0.50% Shell 0.03% Python 13.83%

arap_flow's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

arap_flow's Issues

error on arap_deform

  • enrivonment
    • ubuntu 16.04
    • CUDA 10.1 / 9.2
    • clang 3.8 / 9.0
    • NVIDIA V100

when i run arap_deform with provided sample, i faced below assertion problem.
Is there anything that i can try to solve problem?

./arap_deform cat512_iRGB.png cat512_iMsk.png cat512_iCstr.txt outFlow.flo outRGB.png outMask.png
Optimization plan at ../../arap_plan.t
warning: Linking two modules of different data layouts: '/usr/local/cuda/nvvm/libdevice/libdevice.compute_30.10.bc' is '' whereas 'external' is 'e-m:e-i64:64-f80:128-n8:16:32:64-S128'

nUnknowns = 786432
nResiduals = 0 + 262144 * 10

nnz = 0 + 262144 * 26

/arap-flow/ARAP/API/src/util.t:873: cuModuleLoadData: cuda reported error 218: a PTX JIT compilation failed
stack traceback:
[C]: in function 'error'
[string ""]:250: in function 'cudacompile'
arap-flow/ARAP/API/src/util.t:873: in function 'makeGPUFunctions'
.../arap-flow/ARAP/API/src/solverGPUGaussNewton.t:751: in function 'compilePlan'
arap-flow/ARAP/API/src/o.t:870: in function <arap-flow/ARAP/API/src/o.t:862>
[C]: in function 'xpcall'
arap-flow/ARAP/API/src/o.t:862: in function <arap-flow/ARAP/API/src/o.t:861>
arap_deform: src/../../shared/OptSolver.h:56: OptSolver::OptSolver(const std::vector &, const std::string &, const std::string &, bool): Assertion `m_plan' failed.
Aborted (core dumped)

question on para_gen.py

i tried to run para_gen.py to create dataset with below arguments.

python3 para_gen.py --multseg --input /raid/hsson/datasets/DAVIS-480p --output /datasets/DMO/fd1 --fd 1 --img-pattern /datasets/FingerCamera

but there are some problems.

  1. for first some images deformed and changed background works for input (frame1) and output(frame2)
    but after that, deformation and changing background only applied to input (frame1), not for output (frame2).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.