Giter Club home page Giter Club logo

liteflownet2-tf2's People

Contributors

rogerhcheng avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

liteflownet2-tf2's Issues

flow returns all nans on CPU

Using the same command as in the README:
python eval.py --img1=./images/first.png --img2=./images/second.png --use_Sintel=True --display_flow=True --img_out=out.png

I get a flow result with all nans. Why?

Same for --use_Sintel=False. Basically the same result as this LiteFlowNet issue: keeper121/liteflownet-tf2#7

I am running TensorFlow 2.2.0, addons 0.10.0, Python 3.8.5, Pillow 8.0.1.

Facing below issue while executing the eval script of LiteFlowNet2-TF2

Traceback (most recent call last):
File "eval.py", line 72, in
flow_color = flow_to_color(flow, convert_to_bgr=False)
File "D:\Dataset\LiteFlowNet2-TF2-master\draw_flow.py", line 124, in flow_to_color
return flow_compute_color(u, v, convert_to_bgr)
File "D:\Dataset\LiteFlowNet2-TF2-master\draw_flow.py", line 83, in flow_compute_color
col0 = tmp[k0] / 255.0
IndexError: index -2147483648 is out of bounds for axis 0 with size 55

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.