Skip to content

Data is none when enumerating data (type DataLoader) #20

@realptkkit

Description

@realptkkit

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions