justanhduc / phase-based-frame-interpolation Goto Github PK
View Code? Open in Web Editor NEWFrame interpolation
Frame interpolation
I found no attribute named bandIndex
index_lo = pyramid.bandIndex(level + 1, band)
index_hi = pyramid.bandIndex(level, band)
index_lo = pyramid.bandIndex(level, band)
Thanks in Advance
Got this error when I execute demo.py
I installed all the packages needed to make the project run
Traceback (most recent call last): File "demo.py", line 40, in <module> new_frames = interpolate_frame(img1, img2, n_frames=args.n_frames, scale=.5**.25, xp=xp) File "/home/adrien/Bureau/Phase-based-Frame-Interpolation/frame_interp.py", line 149, in interpolate_frame phase_diff = compute_phase_difference(L, R, scale, limit) File "/home/adrien/Bureau/Phase-based-Frame-Interpolation/frame_interp.py", line 21, in compute_phase_difference xp = L['pyramids'][0].xp AttributeError: SCFpyr instance has no attribute 'xp'
Can anyone help me ?
Can you please provide a code which supports a cpu without cuda.
test demo.py with https://github.com/justanhduc/pyPyrTools/tree/test-branch, got error
wrapConv.so: invalid ELF header
then rying to compile the library locally:
gcc -shared -L/usr/lib/python2.7/ -I/usr/lib/python2.7/include/ -lpython2.7 -o wrapConv.so -fPIC convolve.c edges.c wrap.c internal_pointOp.c
error:
/tmp/ccmZ6hfE.o: In function internal_pointop': internal_pointOp.c:(.text+0x0): multiple definition of
internal_pointop'
/tmp/ccLrDosE.o:wrap.c:(.text+0x11f7): first defined here
collect2: error: ld returned 1 exit sta
found older version wrap.c from https://github.com/LabForComputationalVision/matlabPyrTools/blob/master/MEX/wrap.c.
Successful compiled library locally.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.