Comments (8)
@Gpoxolcku I came up with an error like "Graphdef cannot be larger than 2GB in tensorflow", if it's also yours, just add "tf.reset_default_graph" after sess.run will fix this problem.
from stereo-magnification.
I think you need to set the "--xoffset" flag (if this is a rectified left-right stereo pair), and possibly also the "--yoffset" and "--zoffset" flags if the camera motion is not horizontal. Those flags tell the binary what the camera motion is between the left and right views. They are zero by default, and so you will get degenerate results if you do not set at least "--xoffset". I have just added an example to demonstrate in the examples subdirectory.
from stereo-magnification.
Note also that if you want to render multiple images, you can provide multiple offsets in the "--render_multiples" argument (e.g, "--render_multiples="-10,0,10").
from stereo-magnification.
Thank you for your reply! Also I'd like to mention that when I try to render multiple images, it fails with (likely) out-of-memory error (I use Google Colab GPU). Is there any possible way to fix it?
from stereo-magnification.
Interesting -- I haven't tested on a Colab GPU. I guess the backup is to render a single image and call the binary multiple times. However, I am unsure of why you would run out of memory, though I will give it some thought. Please feel free to propose a fix if you uncover the issue.
from stereo-magnification.
Can you explain what the offset values in render_multiples mean? Are they the offsets in world coordinates from camera 0?
from stereo-magnification.
The values in --render_multiples indicate viewpoint offset multipliers on the translation vector indicated by [--xoffset, --yoffset, --zoffset]. That is, if render_multiple = 2, then the camera is moved to the location "reference_viewpoint + 2 * [xoffset, yoffset, zoffset]".
from stereo-magnification.
Note also that if you want to render multiple images, you can provide multiple offsets in the "--render_multiples" argument (e.g, "--render_multiples="-10,0,10").
Hello. I was googeling around for a way to try out this code and I saw your comment about a Colab notebook. Is this Google Colab Notebook still available? May I try it out? Thanks in advance.
from stereo-magnification.
Related Issues (20)
- Dual Pair images to use
- Training stereo Magnification
- A problem about running examples
- Distance between camera and each plane?
- about the test dataset
- Training code seems to get stuck even for a very small set of input images HOT 14
- How to set parameters for light field data? HOT 3
- train detail
- Shifting image2 to image1 HOT 2
- How to train with a small subset of data HOT 4
- Fail to train VGG loss HOT 1
- Output depth maps?
- Dependencies???
- Is there another version for tensorflow v2?
- AssertionError
- ImportError: cannot import name 'mpi_net' from 'nets' HOT 4
- images/RealEstate10K/frames/test//pl7tUx1TUTM/pl7tUx1TUTM_56656573.jpg; No such file or directory
- How do you format the folder that contains the training images?
- Question about training
- Warp the MPI. How to Warp the MPI is there any command for it ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stereo-magnification.