Git Product home page Git Product logo

triplet's Introduction

Triplet

To install with development libraries

$ pip install virtualenv # install the virtual env
$ virtualenv myvirtualenvname # create the virtual env
$ source myvirtualenvname/bin/activate # activate the environment

Once your virtualenv is activated by the source myvirtualenvname/bin/activate you can install the package by the following command.

Dev option will also install pytest so you can add and run your tests.

if you are using zsh shell you have to use escacpe characters for brackets.

$ pip install -e .\[dev\]

otherwise you can install it as follows

$ pip install -e .[dev]

To install without development libraries

While you are an the root directory just run the following command. This will exclude pytest package from the installation.

$ pip install -e .

triplet's People

Contributors

tosolveit avatar

Watchers

 avatar  avatar

triplet's Issues

Index building is slow for larger images

For image size 299x299x3 reading images from disk and obtaining embedding by running through network and writing embedding to the index takes 3.75 sec. per image, this slows down model evaluation and needs some improvement.

Some suggestions:

  • Do analysis and identify the exact step or steps that slows down the processes
  • Add progress bar for with tqdm for evaluate.py/created_index
  • Multi-core approaches can also be used for speed up

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.