Comments (3)
Hi @xiaoleihuang The code as it is, unless you build a new dataset with it (i.e. test_lmdb + test_keys.pkl), it is not meant to work like this. If you simply want to get the embedding output of an image, you can isolate the vision branch and run it manually.
from im2recipe-pytorch.
Hi @xiaoleihuang The code as it is, unless you build a new dataset with it (i.e. test_lmdb + test_keys.pkl), it is not meant to work like this. If you simply want to get the embedding output of an image, you can isolate the vision branch and run it manually.
you can isolate the vision branch and run it manually
Hi @jmarintur what do you mean vision branch, i just find master and development in github of this repo.
from im2recipe-pytorch.
My bad, I meant the "branch" within the network model, named visual_embedding. I've just uploaded a new script, image2embedding.py. You only need to provide an image to it, and you'll get the corresponding embedding.
from im2recipe-pytorch.
Related Issues (20)
- ONNX Version? HOT 1
- does the repository contains instructions to train the model on skip-instructions. HOT 1
- training on skip-instructions/only ingredients HOT 1
- food101_classes_renamed.txt HOT 3
- IndexError on attempt to run pertained model
- I got Cuda Error when I run test.py ,And My soft environment is ubuntu16.04 python3.7 cpu HOT 3
- Asking the way to get recipe by querying img HOT 1
- Index error when running test HOT 1
- Registration to access dataset results in error HOT 4
- DB Download link not working HOT 11
- How can I test pretrained model? HOT 2
- Dataset Inaccessible, error mentions missing email? HOT 1
- `TypeError: file must have 'read' and 'readline' attributes` when loading training data
- Extract Word Embedding for a single recipe
- Pretrained model link broken HOT 1
- Error installing torchwordemb
- setup.py
- Pre-trained model can't not find test_lmdb HOT 1
- im2recipe-Pytorch issue HOT 1
- "recipe1M" dataset HOT 3
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 im2recipe-pytorch.