Git Product home page Git Product logo

Comments (5)

Lu-Feng avatar Lu-Feng commented on August 26, 2024

The dataset preparation follows visual geo-localization benchmark. If you want to use it on your own dataset, you'll need to rewrite the image names in this standard format:
@ UTM_east @ UTM_north @ UTM_zone_number @ UTM_zone_letter @ latitude @ longitude @ pano_id @ tile_num @ heading @ pitch @ roll @ height @ timestamp @ note @ extension
where the only indispensable values are UTM coordinates (UTM_east and UTM_north). The character @ is used as the separator. So we can use path.split("@")[1], path.split("@")[2] to get the UTM coordinates, which are further used to calculate geographical distances.

from selavpr.

Lu-Feng avatar Lu-Feng commented on August 26, 2024

If your images are labeled by latitude and longitude, you need to convert it to get UTM coordinates. If they are annotated by frame-level correspondence, you can create pseudo UTM coordinates. For example, you can rewrite the name of the i-th image in the Nordland-test dataset to @i@0@@@@@@@@@@@@@.jpg, and set the evaluation parameter val_positive_dist_threshold to 2 (i.e. the threshold is 2 frames).

from selavpr.

jxhoh avatar jxhoh commented on August 26, 2024

假如我的数据,没有任何标识,我就是想从一大堆图片中找出 最相似的图像呢,虽然这样听起来不像地理定位,但是有时候更多的场景是盲定位吧

from selavpr.

Lu-Feng avatar Lu-Feng commented on August 26, 2024

那估计还是得按这个命名格式改一下图片名字,你可以把原来的名字写到@note那个字段,然后开头的UTM坐标的两个值随便给(我不确定不赋值会不会报错,你也可以试一下留成空的),在计算完predictions之后直接输出结果就行,就不再计算Recall@N指标了

from selavpr.

jxhoh avatar jxhoh commented on August 26, 2024

对,我试过了,不赋值是报错的,对,任何直接计算pre就行,这样就可以用做盲定位了

from selavpr.

Related Issues (7)

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.