shamangary / FSA-Net

[CVPR19] FSA-Net: Learning Fine-Grained Structure Aggregation for Head Pose Estimation from a Single Image
Apache License 2.0
608 stars 155 forks source link

BIWI Dataset Creation #61

Open LaviniaPedrollo opened 3 years ago

LaviniaPedrollo commented 3 years ago

Hi, I see that when You create the BIWI dataset inside the following .py files:

for num in range(0,24):
        if num<9:
            mypath_obj = mypath+'/0'+str(num+1)
        else:
            mypath_obj = mypath+'/'+str(num+1)
        print(mypath_obj)
        onlyfiles_txt_temp = [f for f in listdir(mypath_obj) if isfile(join(mypath_obj, f)) and join(mypath_obj, f).endswith('.txt')]
        onlyfiles_png_temp = [f for f in listdir(mypath_obj) if isfile(join(mypath_obj, f)) and join(mypath_obj, f).endswith('.png')]

        onlyfiles_txt_temp.sort()
        onlyfiles_png_temp.sort()

        onlyfiles_txt.append(onlyfiles_txt_temp)
        onlyfiles_png.append(onlyfiles_png_temp)
    print(len(onlyfiles_txt))
    print(len(onlyfiles_png))

However when downloading the BIWI dataset my BIWI folder has only subfloders (\01,\02,\03,\04,\05). I have downloaded the dataset from the same source you attached in the README file.

hushunda commented 2 years ago

hello,can you share the BIWI dataset by Baiduyun or google drive? This dataset link has failed。

Algabri commented 1 year ago

@LaviniaPedrollo, How many subfolders should be?