nv-tlabs/DIB-R

Data is none when enumerating data (type DataLoader)

Opened this issue · 0 comments

Hello,

I am currently trying to train a model with the ShapeNetP2M Dataset and the corresponding test list (I read in another issue that you used this data yourself).
The first issue is that the received DataProvider

data = get_data_loaders(filelist, imsz, viewnum, mode='test', bs=BATCH_SIZE, numworkers=numworkers, data_folder=data_folder)

has no Data (Data is none).

After I tried to overcome this issue by simply avoiding the torch.dataloader script and use your prepare_instance in dataloader_multiview_blender, I stumbled across this error:

imnp = da['view%d' % j]['im'] TypeError: 'int' object is not subscriptable

I think it is because the load_in_cam function needs .npy files which are not provided in the ShapeNetP2M Dataset. There are only .dat files besides the png images
What is the correct way to load this dataset? Am I missing something? Thanks in advance!