Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
realptkkit opened this issue Nov 20, 2020 · 0 comments
Open

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

realptkkit opened this issue Nov 20, 2020 · 0 comments

Comments

@realptkkit
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant