Comments (3)
Hey @algiraldohe you can try this repository https://github.com/imneonizer/pytorch-triplet-loss
from image-similarity-using-deep-ranking.
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.
use this.
python src/accuracy.py
from image-similarity-using-deep-ranking.
Related Issues (12)
- Inference HOT 3
- how to test with one query image and other images ?
- License
- RuntimeError: Input type (torch.cuda.FloatTensor) and weight type (torch.FloatTensor) should be the same HOT 20
- MemoryError HOT 1
- How to test just two images in testing stage? HOT 2
- How to choose the best model to save?
- Is the loss ok or not?
- ValueError: operands could not be broadcast together with shapes (100000,128) (200000,128) HOT 2
- About the accuracy(when I run the accuracy.py)~~~Many thanks~~~ HOT 2
- Generating triplets HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from image-similarity-using-deep-ranking.