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

CSS3D dataset only has 6004 train and 6019 test samples #9

Open
patrickphat opened this issue Aug 1, 2020 · 1 comment
Open

CSS3D dataset only has 6004 train and 6019 test samples #9

patrickphat opened this issue Aug 1, 2020 · 1 comment

Comments

@patrickphat
Copy link

Hello, I downloaded the CSS3D from the readme and load the css_toy_dataset_novel2_small.dup.npy as follow:

import numpy as np
data = np.load("../data/css_toy_dataset_novel2_small.dup.npy",allow_pickle=True,encoding="latin1")
data = data.item()

I found that data["train"]["mods"] only contains 6004 samples and that only includes the 2d->3d mods, not 3d->3d mods

@lugiavn
Copy link
Collaborator

lugiavn commented Aug 1, 2020

If you need to parse the data yourself, please take a look at at https://github.com/google/tirg/blob/master/datasets.py#L65 as a reference:
(1) it's not 1 to 1 correspondences between this "mods" and the number of training samples (run our code to see the size https://github.com/google/tirg/blob/master/main.py#L125)
(2) there is no " 2d->3d mods" or "3d->3d mods", there is just a single one they are both and the same (change the param here to switch https://github.com/google/tirg/blob/master/datasets.py#L150)

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

2 participants