Comments (5)
For both of your queries, you have to create a dictionary similar to the one found in the cc_web_video.pickle file. It consists of several list objects that comprise information about the dataset. More precisely, it contains the following key-value pairs:
index
: a list that contains the id of each video in the dataset. The index of each video in this list corresponds to the row in the output feature matrix of the global video descriptors. Empty entries are ignored.queries
: a list that contains the indexes of the query video for each query set.ground_truth
: a list that contains the indexes and labels of the videos in the query sets. Each entry is a dictionary that corresponds to a query set and contains key-value pairs of the video indexes and their labels with respect to the query video. Visit the CC_WEB_VIDEO website for more information regarding the labels.
I would recommend you to go through the .pickle file to take a look in its composition. Also, I have made some changes in the format of the cc_web_video.pickle file, so make sure to pull the latest version of the code.
from ndvr-dml.
Having a trained model, you can initialize a DNN object by providing the required argument, and then use the embedding function to extract the final video representations. This is exactly what I am doing to evaluate the model performance on CC_WEB_VIDEO dataset, see here. Also, see the following example:
features = np.load(path_to_features)
model = DNN(features.shape[1],
path_to_model,
load_model=True,
trainable=False)
video_embeddings = model.embeddings(features)
Once you have extracted the video embeddings, you may use any dimensionality reduction algorithm (e.g. PCA, tSNE) to transform vectors to 2 or 3 dimension. I would recommend to use the same color for all near duplicates of a particular query, in case you already have such information.
from ndvr-dml.
from ndvr-dml.
sorry sir for bothering you again. I have some other queries that i have to ask you.
- for triplet_generator.py only applicable datasets are vcdb and cc_web_video. if we want to test this model on our video dataset, is the extracted features file .npy using intermediate-cnn-features enough?
- to evaluate the cc_web_video dataset .pickle file is used, how can we generate that pickle file for our own testing dataset?
from ndvr-dml.
Thanks!
from ndvr-dml.
Related Issues (16)
- Request FIVR-200K dataset HOT 1
- Can you provide pre-trained model ? HOT 6
- When evaluate mAP of ccweb, it seems you didn't set any threshold of similarities? HOT 2
- generating training files according to our own data? HOT 1
- Error when evaluating
- Where is the function for feature vectors fusion? HOT 3
- VCDB Triplet Generation HOT 1
- about train/test subset divide HOT 1
- train error HOT 3
- How to generate the file ./datasets/cc_web_video.pickle HOT 2
- Triplet Generation - _fblas.error: HOT 4
- Could you provide the network code for pretrained model HOT 2
- 有大佬知道这个代码可以复现论文中的结果吗 HOT 2
- 如何生成文件 ./datasets/cc_web_video.pickle,球球了那个大佬知道啊 HOT 1
- Sir, how do I generate .pickle files for my dataset, thank you very much HOT 1
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 ndvr-dml.