python-3.x - CSV file for Siamese Network
问题描述
I am new to the concept of similarity learning. I am currently working on a face recognizer module for which I am using the Labelled faces in the Wild (LFW dataset) in Kaggle.
Dataset link for reference : https://www.kaggle.com/jessicali9530/lfw-dataset
In the dataset, there are CSV files for match and mismatch images and for both train and test data. The problem is, I have to map the matched and mismatched data and generate positive, negative image pairs for training the Siamese network. How can I store image pairs and labels for the given CSV ?
The directory looks in this way:
matchpairsDevTest.csv
matchpairsDevTrain.csv
mismatchpairsDevTest.csv
mismatchpairsDevTrain.csv
lfw-deepfunneled
lfw-deepfunneled Celebrity Name Images of celebrity
解决方案
推荐阅读
- c++ - 在 C++ 中使用参数包作为类属性是否可能和/或良好做法?
- google-apps-script - 将范围从另一个电子表格复制到另一个
- azure - 是否有任何配置可以增加 Azure API 管理 (APIM) 的 URL 最大长度?
- javascript - 尝试使用需要身份验证的 API 的 Google 脚本从 TDAmeritrade 提取股票报价信息
- c# - 如何使我的方法在这种特定情况下正常工作?
- python - 当某些列是字符串而某些列是同一列整数时,如何按条件对数据框进行子集化?
- sql - 使用下一条记录 StartPeriodTime 更新 EndPeriodTime
- python - 字符设备文件类型
- reactjs - 反应递归列表深度
- android - Android FileProvider content:// uri 在目标应用程序中没有读取权限