Giter VIP home page Giter VIP logo

Comments (12)

sanweiliti avatar sanweiliti commented on May 25, 2024

Hi, @ClementPinard,
Thanks for the update. Now when I run prepare_train_data.py, it got stuck shortly after the script started running (just stuck and gave no output files), do you know why?

from sfmlearner-pytorch.

ClementPinard avatar ClementPinard commented on May 25, 2024

Is is still working with only one thread ?

from sfmlearner-pytorch.

sanweiliti avatar sanweiliti commented on May 25, 2024

No, it also got stuck with only one thread after several iterations.

from sfmlearner-pytorch.

ClementPinard avatar ClementPinard commented on May 25, 2024

I'm sorry I can't reproduce this bug :( can you test with a smaller version of KITTI raw maybe ?

from sfmlearner-pytorch.

sunnyHelen avatar sunnyHelen commented on May 25, 2024

Yeah. I got the same problem. It just got stuck here.
image
Do you know how to solve it? @ClementPinard @sanweiliti

from sfmlearner-pytorch.

ClementPinard avatar ClementPinard commented on May 25, 2024

It's not actually stuck. The progress bar only display how the tasks are dispatched. the bar being at 100% only means that every task is either finished or dispatched. If you wait a little you will see that the program will end.

I am making a coming to use concurrent futures library instead of joblib to use the function as_completed and display the real progress of finished tasks.

from sfmlearner-pytorch.

ClementPinard avatar ClementPinard commented on May 25, 2024

I just uploaded a commit that now uses pebble instead of joblib. That way the colorbar will reflect finished tasks.

from sfmlearner-pytorch.

sunnyHelen avatar sunnyHelen commented on May 25, 2024

Thank you very much. I waited for about 2 hours. Then the program ended.
So I'm running train.py now. But there's an error now.
image
I checked the size of depth and intrinsics are all same as you comment in the code.

from sfmlearner-pytorch.

ClementPinard avatar ClementPinard commented on May 25, 2024

The batch inverse function is only available in pytorch 1.0.1 what's your version? I highly suspect you have an outdated version of pytorch and you should update it :)

from sfmlearner-pytorch.

sunnyHelen avatar sunnyHelen commented on May 25, 2024

My version of pytorch is 1.0.0. It seems the batch inverse function can't work. And unfortunately,I can't update the pytorch. I want to ask if there's any way to realize it.

from sfmlearner-pytorch.

ClementPinard avatar ClementPinard commented on May 25, 2024

Before 1.0.1, the inverse function works only for 2D matrix, so you can just decompose the batch matrix, inverse every matrix and then reassemble everythin with a stack

M = torch.randn(10,3,3)  # batch matrix
invM_list = [m.inverse() for m in M]
invM = torch.stack(invM_list, dim=0)

from sfmlearner-pytorch.

sunnyHelen avatar sunnyHelen commented on May 25, 2024

Yeah. Thank you very much for your help~

from sfmlearner-pytorch.

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.