Giter VIP home page Giter VIP logo

Comments (3)

imneonizer avatar imneonizer commented on August 18, 2024

Hey @algiraldohe you can try this repository https://github.com/imneonizer/pytorch-triplet-loss

from image-similarity-using-deep-ranking.

Zhenye-Na avatar Zhenye-Na commented on August 18, 2024

Hello I'm receiving the following error while trying to execute this command: python3 acc_knn.py --predict_similar_images "../tiny-imagenet-200/test/images/test_9970.JPEG" --predict_top_N 5

==> Preparing Tiny ImageNet dataset ... Get all training images, Done ... | Time elapsed 74.98976492881775s Traceback (most recent call last): File "acc_knn.py", line 238, in main() File "acc_knn.py", line 229, in main embedding_space = load_train_embedding() File "acc_knn.py", line 33, in load_train_embedding embedding_space = np.fromfile("../embedded_features_train.txt", dtype=np.float32) FileNotFoundError: [Errno 2] No such file or directory: '../embedded_features_train.txt'

I looked for the file but is not on the repo. Can someone help me to sort this out? Or does the file can be gotten from somewhere?

Thanks

Perhaps you need to run this file first.

from image-similarity-using-deep-ranking.

Tieck-IT avatar Tieck-IT commented on August 18, 2024

use this.

python src/accuracy.py 

from image-similarity-using-deep-ranking.

Related Issues (12)

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.