Coder Social home page Coder Social logo

Comments (4)

absudabsu avatar absudabsu commented on June 1, 2024

I tried with a large batch of images, which are guaranteed to overlap. No luck, same error.

Looking at it again... Perhaps rather np.mean() returning NaN (a warning), the real error is: ERROR 1: No input dataset specified. ? I'm not sure how what I'm doing wrong.. Any hints?

from s2p.

dyoussef avatar dyoussef commented on June 1, 2024

Hello @sirgogo,
Thank you for bringing up the problem to our attention.
Please, can you send your dataset?
Thanks in advance

from s2p.

absudabsu avatar absudabsu commented on June 1, 2024

@dyoussef Thanks for the reply. The dataset I am using is available here: http://www.jhuapl.edu/satellite-benchmark.html . From my understanding, its the same dataset used in the IARPA top coder challenge, but I could be wrong. The specific images I am using are the ones available in the (above, specified) dataset, such as: iarpa_3D-satellite-dataset/Challenge_Data_and_Software/cropimagedata/Explorer/...

I did some more digging, and I think that maybe the issue is due to images not overlapping 100%, since I found that for some image pairs (just two at a time), the algorithm does run, but tries to overallocate memory (I see all kinds of malloc calls on the screen) when it is computing the global DSM. However, for other image pairs, it fails arbitrarily like above.

I tried a similar strategy on a smaller reconstruction are by setting 'full_img' = True and specifying a small ROI. For some image chips the reconstruction was able to complete (albeit on a very small area)! For other chips, it fails arbitrarily like above.

I have not inspected thoroughly, but from my initial experiments, it seems like the algorithm works/runs when two supplied images are very close (e.g. consecutive), such that their projections cover the same/similar geodesic bounding box with very high overlap, and their image-plane coordinates are also simliar.

from s2p.

carlodef avatar carlodef commented on June 1, 2024

Hi sirgogo,
Could you please specify the filenames of the input images and provide your full json configuration file so that we can try to reproduce the failure?

From your output I see that the size of your input images is about 2000 x 2000 pixels (from 286 * 7). The original images of the IARPA challenge are much bigger. Maybe your issue comes from the fact that you've cropped the input images without modifying the corresponding RPC coefficients. There's a tool for that: rpc_cropper.

from s2p.

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.