tensorflow / tensorflow/graphics
tensorflow_graphics.datasets.modelnet40
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.8k
- Forks
- 374
- PR merge metrics
- No merged PRs in 30d
Description
Security certificate on the Stanford side is expired, so auto-download of resources fails.
Major hack to get it working in the meantime:
- download
https://shapenet.cs.stanford.edu/media/modelnet40_ply_hdf5_2048.zipmanually - in the download folder, start a server with
python3 -m http.server 8080 - modify _URL in
tensorflow_graphics/datasets/modelnet40/modelnet40.pyto be_URL = 'http://localhost:8080/modelnet40_ply_hdf5_2048.zip' - allow dataset to be built by executing
from tensorflow_graphics.datasets.modelnet40 import ModelNet40
ds_train, info = ModelNet40.load(split='train', with_info=True)
- after this, ensure you do not re-download:
data_dir = '~/tensorflow_datasets'
ds_train, info = ModelNet40.load(split='train', with_info=True, data_dir=data_dir, download=False)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in tensorflow_graphics/datasets/modelnet40/modelnet40.py at the _URL definition, then reproduce the failure with ModelNet40.load(split='train', with_info=True). Compare the normal download path with the documented local-server workaround. Done means the dataset can be downloaded and built without the manual server, and a subsequent load with download=False reuses the data.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data, machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100