Giter Club home page Giter Club logo

Comments (6)

olivertai avatar olivertai commented on May 14, 2024

Try
python mpi_from_images.py
--image1 /path_to_image1
--image2 /path_to_image2
--output_dir ./tmp/result

from stereo-magnification.

suljaxm avatar suljaxm commented on May 14, 2024

Thank you for your prompt reply, but when I tried your way, it was still error.
The error :

Traceback (most recent call last):
File "mpi_from_images.py", line 64, in
flags.DEFINE_list(
AttributeError: module 'tensorflow.python.platform.flags' has no attribute 'DEFINE_list'

from stereo-magnification.

olivertai avatar olivertai commented on May 14, 2024

I have encountered this problem too. It seems that we don't have attribute "DEFINE_list".
Try
changing "DEFINE_list" to "DEFINE_string", and use another list to read the values
render_list = [float(x) for x in flags.FLAGS.render_multiples.split(',')]
Then replace the original usage in the code.
around line 220:
max_multiple = max(abs(float(m)) for m in render_list)
around line 280:
for multiple in render_list:
And try running again.

from stereo-magnification.

suljaxm avatar suljaxm commented on May 14, 2024

It's ok, thanks so much to you.

from stereo-magnification.

snaves avatar snaves commented on May 14, 2024

Thanks for the feedback -- note that this should now be fixed in 3eb2f9e.

Please let us know if you still see a problem related to this issue.

from stereo-magnification.

suljaxm avatar suljaxm commented on May 14, 2024

ok

from stereo-magnification.

Related Issues (20)

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.