aflw資料集使用

2021-08-02 05:05:41 字數 1297 閱讀 4796

網上的一些資源

工具: 

密碼是difc

這個應該是完整版的,僅供參考9gtf。

本人申請了資料集,但是只有aflw-images-0.tar.gz,aflw-images-2.tar.gz,aflw-images-3.tar.gz,工具是用的第乙個鏈結

還有乙個閆大腦門同學的鏈結,更詳細

沒有秘密

將壓縮包放到linux上的同乙個資料夾中,解壓縮即可

安裝sqliteman

sudo

apt-get install sqliteman

資料處理的指令碼為

#-*-coding:utf-8-*-

fid_a = open('a.txt')

fid_b = open('b.txt')

fid_c = open('c.txt','w')

lines_a = fid_a.readlines()

lines_b = fid_b.readlines()

lines_c =

num =

#去重lines_a_no_repeat=#沒重複的

for line_a in lines_a:

if line_a not in lines_a_no_repeat:

#取編號

ii=0

for tmp in lines_a_no_repeat:

j = 0

for i in range(0,len(lines_a)):

if tmp==lines_a[i]:

if j == 0:

fid_c.writelines(lines_a[i].strip('\n\r')+' '+str(num[ii])+'\n')

j = j + 1

fid_c.writelines(lines_b[i])

ii = ii + 1

fid_a = open('a.txt')  

fid_b = open('b.txt')

fid_c = open('cc.txt','w')

lines_a = fid_a.readlines()

lines_b = fid_b.readlines()

lines_c =

for i in range(0,len(lines_b)):

lines_a[i]= lines_a[i].strip('\n\r')

fid_c.writelines(lines_c[i])

UCI資料集使用

uci資料可以使用matlab的dlmread或textread讀取,不過,需要先將不是數字的類別用數字,比如1 2 3等替換,否則讀入不了數值,當字元了。每個資料檔案 data 包含以 屬性 值 對形式描述的很多個體樣本的記錄。對應的.info檔案包含的大量的文件資料。有些檔案generate d...

使用COCO資料集報錯

1.背景 跑深度學習的 時,用到coco資料集,就需要用到cocoapi,我們按照它的requirement來,直接把pythonapi放在相應的資料夾下,會報錯importerror no module named pycocotools.mask 或importerror no module n...

使用YOLO訓練Kitti資料集

其他文章 上次寫了一篇關於使用yolo訓練voc資料集的文章,傳送門 article details 78724314 但是總不能只使用乙個資料集,多使用幾個資料集看看效果。因為我主要在做車輛和行人方面的檢測。正好kitti 資料集是做無人駕駛方面的公開權威資料集,包含大量公路,城市街道等各種路況的...