hrishivish23 commited on
Commit
bf3661f
·
verified ·
1 Parent(s): f9e3258

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -0
README.md CHANGED
@@ -76,12 +76,16 @@ Each dataset folder contains a `metadata.json` file with the following informati
76
 
77
  ## Downloading the Dataset
78
  ```python
 
 
79
  files = ['train.obj', 'test.pt', 'rollout.pt', 'metadata.json', 'rollout_full.pt']
 
80
  train_dir = hf_hub_download(repo_id=params.dataset_rootdir, repo_type='dataset', filename=os.path.join('Jelly3DNCLAW', files[0]), cache_dir="./dataset_mpmverse")
81
  test_dir = hf_hub_download(repo_id=params.dataset_rootdir, repo_type='dataset', filename=os.path.join('Jelly3DNCLAW', files[1]), cache_dir="./dataset_mpmverse")
82
  rollout_dir = hf_hub_download(repo_id=params.dataset_rootdir, repo_type='dataset', filename=os.path.join('Jelly3DNCLAW', files[2]), cache_dir="./dataset_mpmverse")
83
  metadata_dir = hf_hub_download(repo_id=params.dataset_rootdir, repo_type='dataset', filename=os.path.join('Jelly3DNCLAW', files[3]), cache_dir="./dataset_mpmverse")
84
  rollout_full_dir = hf_hub_download(repo_id=params.dataset_rootdir, repo_type='dataset', filename=os.path.join('Jelly3DNCLAW', files[4]), cache_dir="./dataset_mpmverse")
 
85
  ```
86
 
87
  ## Citation
 
76
 
77
  ## Downloading the Dataset
78
  ```python
79
+ from huggingface_hub import hf_hub_download, snapshot_download
80
+
81
  files = ['train.obj', 'test.pt', 'rollout.pt', 'metadata.json', 'rollout_full.pt']
82
+
83
  train_dir = hf_hub_download(repo_id=params.dataset_rootdir, repo_type='dataset', filename=os.path.join('Jelly3DNCLAW', files[0]), cache_dir="./dataset_mpmverse")
84
  test_dir = hf_hub_download(repo_id=params.dataset_rootdir, repo_type='dataset', filename=os.path.join('Jelly3DNCLAW', files[1]), cache_dir="./dataset_mpmverse")
85
  rollout_dir = hf_hub_download(repo_id=params.dataset_rootdir, repo_type='dataset', filename=os.path.join('Jelly3DNCLAW', files[2]), cache_dir="./dataset_mpmverse")
86
  metadata_dir = hf_hub_download(repo_id=params.dataset_rootdir, repo_type='dataset', filename=os.path.join('Jelly3DNCLAW', files[3]), cache_dir="./dataset_mpmverse")
87
  rollout_full_dir = hf_hub_download(repo_id=params.dataset_rootdir, repo_type='dataset', filename=os.path.join('Jelly3DNCLAW', files[4]), cache_dir="./dataset_mpmverse")
88
+
89
  ```
90
 
91
  ## Citation