Skip to content

Compressed really aesthetic handling of the humongous ModelNet10 3D Vision dataset

Notifications You must be signed in to change notification settings

SomTambe/ModelNet10-dataset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ModelNet10-dataset

Compressed really aesthetic handling of the humongous ModelNet10 3D Vision dataset

This contains the numpy array file of the huge ModelNet10 dataset.

Original dataset size ~ 2.2 Gigabytes

Numpy file size ~ 8 Gigabytes

Compressed file size ~ 32 Megabytes

This can all be seen due to the very bad handling of binvox files, and on the top of that numpy arrays.

Please star this repo if you find this useful 😁

Usage example -

import gzip
import numpy as np
with gzip.open('modelnet10.npy.gz','rb') as f:
    arr=np.load(f)
    print(type(arr),arr.shape)

Output -

<class 'numpy.ndarray'> (3992, 1, 64, 64, 64)

Let's check if it works -

import matplotlib.pyplot as plt
fig = plt.figure()
ax = fig.gca(projection='3d')
ax.voxels(arr[78][0],facecolors='red')
plt.show()

Output -

image

Scripts to generate from source

If you have raw OFF files, what you can do is go to the scripts folder, and look at the scripts I used to get to the final file format. I know they seem a joke, but I did not have the time to revitalize them, so make the changes accordingly 😁 .

About

Compressed really aesthetic handling of the humongous ModelNet10 3D Vision dataset

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published