Code for image geolocalization
Clone the project:
git clone --recurse-submodules git@github.com:IIIA-ML/geoloc.git
cd geolocCreate the etc/geoloc.env file and edit the default values:
cp etc/geoloc.env.default etc/geoloc.envRun the initialization script:
source bin/init-local.shTo crawl Flickr data into flickr_raw.csv run the script:
python3 flickr_crawler.pyTo download Flickr images run the script:
python3 flickr_downloader.pyTo crawl Mapillary data into mapillary_raw.csv run the script:
python3 mapillary_crawler.pyTo download Mapillary images run the script:
python3 mapillary_downloader.pyFor further interest, please follow Data preparation for cleaning, downloading and visualizing the crawled image data from multiple sources (Flickr, Mapillary).
Please follow FocalNets' README for installation, data preparation and classification steps.
Note for contributors
We follow the master-develop workflow.
That is, we work on the develop until it is stable to be merged into master. You can also use short-lived local
branches that diverges from the develop and later merged into it.
See the git docs for further reading.
git pull --recurse-submodules- Use
git statusto determine the files that you have changed. - For each of the modified submodules:
- Go inside the submodule and use
git addto include every file you have changed in a commit. - Use
git commit -m "<my commit message here>"to commit changes to the local repository. - Use
git push origin developto send the changes in the module to the repo.
- Go inside the submodule and use
- Use
git addto include every file you have changed in the commit. Do not forget to add the directories of the modified submodules. - Use
git commit -m "<my commit message here>"to commit changes to the local repo. - Use
git pushto send the changes to the remote repo.
Create a new pull request with base:master and compare:develop setting.
If you need a new variable in the etc/geoloc.env, be sure to add it to the etc/geoloc.env.default with a non-secret
default value too.