Cross-Modal-Center-Loss icon indicating copy to clipboard operation
Cross-Modal-Center-Loss copied to clipboard

I am a little nervous about the Dataset and Dataloader. I really want to see that how you organize the dataset.Can you release the ModelNet40 dataset of different modalities, including image, point-cloud and mesh modalities. I am looking forward to your reply.

Open huacong opened this issue 3 years ago • 8 comments

huacong avatar Aug 03 '21 08:08 huacong

Hi,

You can use modelnet dataset from:

  1. Meshnet repo for meshes
  2. Images using the original multi view moelnet dataset
  3. for point clouds, you can save the vertices of the meshes.

piseabhijeet avatar Aug 06 '21 07:08 piseabhijeet

@huacong @piseabhijeet Sorry for the late reply.

Thanks for your interest in our work. You can download all the data that used in our paper from this link: https://www.dropbox.com/sh/2um7io1g69w7elf/AABix9QyR63UFN3-20HHNXEAa?dl=0.

There are five files including: modelnet10_hdf5_2048.zip contains the point cloud data for ModelNet10 dataset. Link: https://www.dropbox.com/s/3hx4egrfayxekmi/modelnet10_hdf5_2048.zip?dl=0

ModelNet10-Images-180.tar contains the images for ModelNet10 dataset. Link: https://www.dropbox.com/s/beds8f6fpawymkn/ModelNet10-Images-180.tar?dl=0

ModelNet40_Mesh.tar contains the mesh data for ModelNet40 dataset. Link: https://www.dropbox.com/s/dkqhbxhbxz4v9uw/ModelNet40_Mesh.tar?dl=0

modelnet40_ply_hdf5_2048.zip contains the point cloud data for ModelNet40 dataset. Link: https://www.dropbox.com/s/t5swwtd8ecqr7j5/modelnet40_ply_hdf5_2048.zip?dl=0

ModelNet40-Images-180.zip contains the image for Modelnet40 dataset. Link: https://www.dropbox.com/s/byhr0a5jmkg1cpp/ModelNet40-Images-180.zip?dl=0

LongLong-Jing avatar Aug 10 '21 04:08 LongLong-Jing

Hi, i meet some problems about the dataset of the ModelNet40, that is :

ile "/home/anaconda3/envs/pqnet/lib/python3.6/site-packages/torch/utils/data/_utils/worker.py", line 178, in _worker_loop data = fetcher.fetch(index) File "/home/anaconda3/envs/pqnet/lib/python3.6/site-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch data = [self.dataset[idx] for idx in possibly_batched_index] File "/home/anaconda3/envs/pqnet/lib/python3.6/site-packages/torch/utils/data/_utils/fetch.py", line 44, in data = [self.dataset[idx] for idx in possibly_batched_index] File "/home/Cross-Modal-Center-Loss-main/tools/triplet_dataloader.py", line 219, in getitem centers, corners, normals, neighbor_index = self.get_mesh(item) File "/home/Cross-Modal-Center-Loss-main/tools/triplet_dataloader.py", line 168, in get_mesh data = np.load(mesh_path) File "/homeanaconda3/envs/pqnet/lib/python3.6/site-packages/numpy/lib/npyio.py", line 444, in load pickle_kwargs=pickle_kwargs) File "/home/anaconda3/envs/pqnet/lib/python3.6/site-packages/numpy/lib/npyio.py", line 193, in init _zip = zipfile_factory(fid) File "/home/anaconda3/envs/pqnet/lib/python3.6/site-packages/numpy/lib/npyio.py", line 119, in zipfile_factory return zipfile.ZipFile(file, *args, **kwargs) File "/homeanaconda3/envs/pqnet/lib/python3.6/zipfile.py", line 1108, in init self._RealGetContents() File "/home/anaconda3/envs/pqnet/lib/python3.6/zipfile.py", line 1175, in _RealGetContents raise BadZipFile("File is not a zip file") zipfile.BadZipFile: File is not a zip file

it seems there are some problems about ModelNet40-mesh

duzhenjiang113 avatar Aug 16 '21 12:08 duzhenjiang113

Could you please tell me how to transform the mesh from .off to .npz?

duzhenjiang113 avatar Aug 16 '21 12:08 duzhenjiang113

Hi @duzhenjiang113, You can directly download the mesh data that I uploaded in the Dropbox folder.

You can also generate the zip file from off file based on the code from this repo: https://github.com/iMoonLab/MeshNet

LongLong-Jing avatar Aug 17 '21 04:08 LongLong-Jing

Hi @duzhenjiang113, You can directly download the mesh data that I uploaded in the Dropbox folder.

You can also generate the zip file from off file based on the code from this repo: https://github.com/iMoonLab/MeshNet

Thanks a lot. I find the problem is that the file of tv_stand_0164.nzp is damaged.

duzhenjiang113 avatar Aug 17 '21 07:08 duzhenjiang113

@huacong @piseabhijeet Sorry for the late reply.

Thanks for your interest in our work. You can download all the data that used in our paper from this link: https://www.dropbox.com/sh/2um7io1g69w7elf/AABix9QyR63UFN3-20HHNXEAa?dl=0.

There are five files including: modelnet10_hdf5_2048.zip contains the point cloud data for ModelNet10 dataset. Link: https://www.dropbox.com/s/3hx4egrfayxekmi/modelnet10_hdf5_2048.zip?dl=0

ModelNet10-Images-180.tar contains the images for ModelNet10 dataset. Link: https://www.dropbox.com/s/beds8f6fpawymkn/ModelNet10-Images-180.tar?dl=0

ModelNet40_Mesh.tar contains the mesh data for ModelNet40 dataset. Link: https://www.dropbox.com/s/dkqhbxhbxz4v9uw/ModelNet40_Mesh.tar?dl=0

modelnet40_ply_hdf5_2048.zip contains the point cloud data for ModelNet40 dataset. Link: https://www.dropbox.com/s/t5swwtd8ecqr7j5/modelnet40_ply_hdf5_2048.zip?dl=0

ModelNet40-Images-180.zip contains the image for Modelnet40 dataset. Link: https://www.dropbox.com/s/byhr0a5jmkg1cpp/ModelNet40-Images-180.zip?dl=0

Oh, maybe without my rights. I can't download the ModelNet40-Images-180.zip

huacong avatar Aug 20 '21 04:08 huacong

Hi @huacong, thanks for your interest in our work. I checked the link for ModelNet40-Images-180.zip again and I am able to download it. Compared to other files, this file is much larger which may cause the issue. Can you try it again?

LongLong-Jing avatar Aug 20 '21 17:08 LongLong-Jing