Giter Site home page Giter Site logo

deepvo's People

Contributors

mingyuyng avatar

Stargazers

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

Watchers

 avatar  avatar

Forkers

quanqhow

deepvo's Issues

Changing rnn to GRU causes test error.

Hi @mingyuyng. Thankyou for the work.

I made a couple changes to the parameters and everything worked fine for both training and testing.

I changed the RNN to GRU. The training was fine, but for testing, it leads to this error:

Traceback (most recent call last):
  File "testGRU.py", line 114, in <module>
    test(par.test_video)
  File "testGRU.py", line 62, in test
    angle, trans, hc = M_deepvo.forward(x_in, prev=prev)
  File "xxx/modelGRU.py", line 109, in forward
    out, hc = self.rnn(x) if not prev else self.rnn(x, prev)
_RuntimeError: bool value of Tensor with more than one value is ambiguous_

I tried looking in other places, but in those cases it was because of how the loss was calculated, but in this case the error occurs when the forward method is called.

I am new to ML and don't even know where to get started with this. Any help would be appreciated.

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.