Giter VIP home page Giter VIP logo

epignatelli / scalable-recognition-with-a-vocabulary-tree Goto Github PK

View Code? Open in Web Editor NEW
14.0 4.0 8.0 140.28 MB

A python implementation of the paper "Scalable Recognition with a Vocabulary Tree, D. Nister, H. Stewenius, 2006"

Home Page: http://www-inst.eecs.berkeley.edu/~cs294-6/fa06/papers/nister_stewenius_cvpr2006.pdf

Jupyter Notebook 83.21% Python 16.79%
deep-learning image-retrieval information-retrieval vocabulary-tree alexnet sift orb pytorch content-based-image-retrieval python

scalable-recognition-with-a-vocabulary-tree's Issues

Implement SIFT feature extraction

Consider using torch-sift, cv2 or numpy-sift.

This includes setting the repository and how we include the code from these libraries

Add session timeline

I would say we split the session in parts and assign a time to each part.
Given a total of 90 minutes, we plan for 80 minutes and leave a 10 minutes buffer:

  • Time 00:10: 10 minutes setup, problems, contingencies
  • Time 00:15: 5 minutes describing the problem
  • Time 00:40: 25 minutes SIFT
  • Time 00:65: 25 minutes Vocabulary tree
  • Time 00:80: 15 minutes DCNN for features extraction

@RPFeynman what do you think?

Setup multiple ways to deploy the notebook

We will setup all the following modalities and use them in order of priority:

  • Ask to clone this repository
  • Send a compressed archive of this repository via email
  • Setup a google colab

Fine tuning of MSER

I'm struggling to find a set of parameters for MSER which makes it work well on natural scenes and "artificial" ones (like houses, indoor, text, etc). I wonder how much fine-tuning such method needs.

In any case, once the entire pipeline is ready we should do this.

Set python version in yml

A reminder to fix the yml file with the correct python version.

Pytorch can't be installed on python 3.10, which is the default now if the yml file is used to construct the environment (see pytorch/pytorch#66424 )

Error:

$ conda env create -f env/sberbank_unix.yml 
Collecting package metadata (repodata.json): done
Solving environment: done


==> WARNING: A newer version of conda exists. <==
  current version: 4.10.1
  latest version: 4.11.0

Please update conda by running

    $ conda update -n base -c defaults conda



Downloading and Extracting Packages
fontconfig-2.12.6    | 221 KB    | ##################################### | 100% 
pango-1.42.0         | 458 KB    | ##################################### | 100% 
pygraphviz-1.7       | 181 KB    | ##################################### | 100% 
pcre-8.45            | 207 KB    | ##################################### | 100% 
freetype-2.8         | 542 KB    | ##################################### | 100% 
jpeg-9d              | 232 KB    | ##################################### | 100% 
expat-2.4.1          | 168 KB    | ##################################### | 100% 
harfbuzz-1.7.6       | 474 KB    | ##################################### | 100% 
glib-2.69.1          | 1.7 MB    | ##################################### | 100% 
zstd-1.4.9           | 480 KB    | ##################################### | 100% 
pixman-0.40.0        | 373 KB    | ##################################### | 100% 
graphviz-2.40.1      | 6.5 MB    | ##################################### | 100% 
lz4-c-1.9.3          | 185 KB    | ##################################### | 100% 
cairo-1.14.12        | 905 KB    | ##################################### | 100% 
libxml2-2.9.12       | 1.2 MB    | ##################################### | 100% 
certifi-2021.5.30    | 148 KB    | ##################################### | 100% 
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
Installing pip dependencies: \ Ran pip subprocess with arguments:
['/home/antonio/anaconda3/envs/cbir/bin/python', '-m', 'pip', 'install', '-U', '-r', '/home/antonio/repos/scalable-recognition-with-a-vocabulary-tree/env/condaenv.u72yw4q5.requirements.txt']
Pip subprocess output:
Collecting future
  Downloading future-0.18.2.tar.gz (829 kB)
Collecting h5py
  Downloading h5py-3.6.0-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (4.5 MB)
Collecting jupyterlab
  Using cached jupyterlab-3.2.8-py3-none-any.whl (8.5 MB)
Collecting ipywidgets
  Using cached ipywidgets-7.6.5-py2.py3-none-any.whl (121 kB)
Collecting matplotlib
  Using cached matplotlib-3.5.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.9 MB)
Collecting termcolor
  Using cached termcolor-1.1.0.tar.gz (3.9 kB)
Collecting networkx
  Using cached networkx-2.6.3-py3-none-any.whl (1.9 MB)
Collecting pandas
  Using cached pandas-1.3.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.5 MB)

Pip subprocess error:
ERROR: Could not find a version that satisfies the requirement torch (from versions: none)
ERROR: No matching distribution found for torch

failed

CondaEnvException: Pip failed

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.