Coder Social home page Coder Social logo

What 512 stand for? about maskflownet HOT 3 CLOSED

microsoft avatar microsoft commented on August 27, 2024
What 512 stand for?

from maskflownet.

Comments (3)

simon1727 avatar simon1727 commented on August 27, 2024

Hi Rongliang,

The constant 64 and 512 comes from KITTI (how to convert our final prediction flow field to submit format for KITTI). You can find more details in the official document for KITTI dataset.

from maskflownet.

chengrongliang avatar chengrongliang commented on August 27, 2024

Yes, I found that the flow values(predicted by MaskFlowNet) are much bigger than ground truth, therefore I got bad eval score. The attachment shows the difference between ground truth(frome training data) and predicted result(MaskFlowNet).
Selection_011

Should we judge the overflow problem? For example, (64.0 * min((flow[:, :, 0] + 512), 512))?

from maskflownet.

chengrongliang avatar chengrongliang commented on August 27, 2024

The official document shows the value should be limited,

function flow_write (F,filename)
% saves flow field F to png file
% for details see readme.txt

F = double(F);

I(:,:,1) = uint16(max(min(shiftdim(F(:,:,1))*64+2^15,2^16-1),0));
I(:,:,2) = uint16(max(min(shiftdim(F(:,:,2))*64+2^15,2^16-1),0));
I(:,:,3) = uint16(max(min(shiftdim(F(:,:,3)),1),0));
imwrite(I,filename);

So, I think the different between MaskFlowNet results and ground truth may be caused by overflow.

from maskflownet.

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.