Adds notebooks for masked dataset.
Browse files- load_dataset.ipynb +0 -0
- masked/upload.ipynb +0 -0
- notebooks/mask_melt_pool.ipynb +0 -0
- upload/upload_all_frames.ipynb +136 -52
load_dataset.ipynb
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
masked/upload.ipynb
ADDED
File without changes
|
notebooks/mask_melt_pool.ipynb
ADDED
The diff for this file is too large to render.
See raw diff
|
|
upload/upload_all_frames.ipynb
CHANGED
@@ -159,88 +159,172 @@
|
|
159 |
},
|
160 |
{
|
161 |
"cell_type": "code",
|
162 |
-
"execution_count":
|
163 |
"metadata": {},
|
164 |
"outputs": [
|
165 |
{
|
166 |
"name": "stderr",
|
167 |
"output_type": "stream",
|
168 |
"text": [
|
169 |
-
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.
|
170 |
-
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.96ba/s]\n",
|
171 |
-
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.94ba/s]\n",
|
172 |
-
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.94ba/s]\n",
|
173 |
-
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.96ba/s]\n",
|
174 |
-
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.93ba/s]\n",
|
175 |
-
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.97ba/s]\n",
|
176 |
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.91ba/s]\n",
|
177 |
-
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.
|
|
|
|
|
|
|
|
|
178 |
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.89ba/s]\n",
|
179 |
-
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.99ba/s]\n",
|
180 |
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.89ba/s]\n",
|
181 |
-
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.
|
182 |
-
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.93ba/s]\n",
|
183 |
-
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.93ba/s]\n",
|
184 |
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.91ba/s]\n",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
185 |
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.86ba/s]\n",
|
186 |
-
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.
|
|
|
|
|
187 |
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.90ba/s]\n",
|
188 |
-
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.
|
189 |
-
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.
|
190 |
-
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.
|
191 |
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.93ba/s]\n",
|
192 |
-
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.92ba/s]\n",
|
193 |
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.94ba/s]\n",
|
194 |
-
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.
|
195 |
-
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.97ba/s]\n",
|
196 |
-
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.93ba/s]\n",
|
197 |
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:02<00:00, 2.01ba/s]\n",
|
198 |
-
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.
|
199 |
-
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
200 |
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.95ba/s]\n",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
201 |
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.91ba/s]\n",
|
202 |
-
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:
|
203 |
-
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
204 |
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.88ba/s]\n",
|
205 |
-
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.
|
|
|
206 |
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.88ba/s]\n",
|
207 |
-
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.
|
208 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
209 |
]
|
210 |
},
|
211 |
{
|
212 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
213 |
"evalue": "",
|
214 |
"output_type": "error",
|
215 |
"traceback": [
|
216 |
-
"\u001b[
|
217 |
-
"\u001b[
|
218 |
-
"
|
219 |
-
"
|
220 |
-
"File \u001b[0;32m~/HuggingFace/Datasets/Melt-Pool-Thermal-Images/venv/lib/python3.8/site-packages/datasets/arrow_dataset.py:5451\u001b[0m, in \u001b[0;36mDataset._push_parquet_shards_to_hub\u001b[0;34m(self, repo_id, data_dir, split, token, revision, create_pr, max_shard_size, num_shards, embed_external_files)\u001b[0m\n\u001b[1;32m 5449\u001b[0m uploaded_size \u001b[38;5;241m+\u001b[39m\u001b[38;5;241m=\u001b[39m buffer\u001b[38;5;241m.\u001b[39mtell()\n\u001b[1;32m 5450\u001b[0m shard_addition \u001b[38;5;241m=\u001b[39m CommitOperationAdd(path_in_repo\u001b[38;5;241m=\u001b[39mshard_path_in_repo, path_or_fileobj\u001b[38;5;241m=\u001b[39mbuffer)\n\u001b[0;32m-> 5451\u001b[0m \u001b[43mapi\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mpreupload_lfs_files\u001b[49m\u001b[43m(\u001b[49m\n\u001b[1;32m 5452\u001b[0m \u001b[43m \u001b[49m\u001b[43mrepo_id\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mrepo_id\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 5453\u001b[0m \u001b[43m \u001b[49m\u001b[43madditions\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43m[\u001b[49m\u001b[43mshard_addition\u001b[49m\u001b[43m]\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 5454\u001b[0m \u001b[43m \u001b[49m\u001b[43mrepo_type\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[38;5;124;43mdataset\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[43m,\u001b[49m\n\u001b[1;32m 5455\u001b[0m \u001b[43m \u001b[49m\u001b[43mrevision\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mrevision\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 5456\u001b[0m \u001b[43m \u001b[49m\u001b[43mcreate_pr\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mcreate_pr\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 5457\u001b[0m \u001b[43m \u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 5458\u001b[0m additions\u001b[38;5;241m.\u001b[39mappend(shard_addition)\n\u001b[1;32m 5460\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m additions, uploaded_size, dataset_nbytes\n",
|
221 |
-
"File \u001b[0;32m~/HuggingFace/Datasets/Melt-Pool-Thermal-Images/venv/lib/python3.8/site-packages/huggingface_hub/hf_api.py:4271\u001b[0m, in \u001b[0;36mHfApi.preupload_lfs_files\u001b[0;34m(self, repo_id, additions, token, repo_type, revision, create_pr, num_threads, free_memory, gitignore_content)\u001b[0m\n\u001b[1;32m 4265\u001b[0m logger\u001b[38;5;241m.\u001b[39minfo(\n\u001b[1;32m 4266\u001b[0m \u001b[38;5;124mf\u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mSkipped upload for \u001b[39m\u001b[38;5;132;01m{\u001b[39;00m\u001b[38;5;28mlen\u001b[39m(new_lfs_additions)\u001b[38;5;250m \u001b[39m\u001b[38;5;241m-\u001b[39m\u001b[38;5;250m \u001b[39m\u001b[38;5;28mlen\u001b[39m(new_lfs_additions_to_upload)\u001b[38;5;132;01m}\u001b[39;00m\u001b[38;5;124m LFS file(s) \u001b[39m\u001b[38;5;124m\"\u001b[39m\n\u001b[1;32m 4267\u001b[0m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124m(ignored by gitignore file).\u001b[39m\u001b[38;5;124m\"\u001b[39m\n\u001b[1;32m 4268\u001b[0m )\n\u001b[1;32m 4270\u001b[0m \u001b[38;5;66;03m# Upload new LFS files\u001b[39;00m\n\u001b[0;32m-> 4271\u001b[0m \u001b[43m_upload_lfs_files\u001b[49m\u001b[43m(\u001b[49m\n\u001b[1;32m 4272\u001b[0m \u001b[43m \u001b[49m\u001b[43madditions\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mnew_lfs_additions_to_upload\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 4273\u001b[0m \u001b[43m \u001b[49m\u001b[43mrepo_type\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mrepo_type\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 4274\u001b[0m \u001b[43m \u001b[49m\u001b[43mrepo_id\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mrepo_id\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 4275\u001b[0m \u001b[43m \u001b[49m\u001b[43mheaders\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mheaders\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 4276\u001b[0m \u001b[43m \u001b[49m\u001b[43mendpoint\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mendpoint\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 4277\u001b[0m \u001b[43m \u001b[49m\u001b[43mnum_threads\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mnum_threads\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 4278\u001b[0m \u001b[43m \u001b[49m\u001b[38;5;66;43;03m# If `create_pr`, we don't want to check user permission on the revision as users with read permission\u001b[39;49;00m\n\u001b[1;32m 4279\u001b[0m \u001b[43m \u001b[49m\u001b[38;5;66;43;03m# should still be able to create PRs even if they don't have write permission on the target branch of the\u001b[39;49;00m\n\u001b[1;32m 4280\u001b[0m \u001b[43m \u001b[49m\u001b[38;5;66;43;03m# PR (i.e. `revision`).\u001b[39;49;00m\n\u001b[1;32m 4281\u001b[0m \u001b[43m \u001b[49m\u001b[43mrevision\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mrevision\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;28;43;01mif\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[38;5;129;43;01mnot\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[43mcreate_pr\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;28;43;01melse\u001b[39;49;00m\u001b[43m \u001b[49m\u001b[38;5;28;43;01mNone\u001b[39;49;00m\u001b[43m,\u001b[49m\n\u001b[1;32m 4282\u001b[0m \u001b[43m\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 4283\u001b[0m \u001b[38;5;28;01mfor\u001b[39;00m addition \u001b[38;5;129;01min\u001b[39;00m new_lfs_additions_to_upload:\n\u001b[1;32m 4284\u001b[0m addition\u001b[38;5;241m.\u001b[39m_is_uploaded \u001b[38;5;241m=\u001b[39m \u001b[38;5;28;01mTrue\u001b[39;00m\n",
|
222 |
-
"File \u001b[0;32m~/HuggingFace/Datasets/Melt-Pool-Thermal-Images/venv/lib/python3.8/site-packages/huggingface_hub/utils/_validators.py:119\u001b[0m, in \u001b[0;36mvalidate_hf_hub_args.<locals>._inner_fn\u001b[0;34m(*args, **kwargs)\u001b[0m\n\u001b[1;32m 116\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m check_use_auth_token:\n\u001b[1;32m 117\u001b[0m kwargs \u001b[38;5;241m=\u001b[39m smoothly_deprecate_use_auth_token(fn_name\u001b[38;5;241m=\u001b[39mfn\u001b[38;5;241m.\u001b[39m\u001b[38;5;18m__name__\u001b[39m, has_token\u001b[38;5;241m=\u001b[39mhas_token, kwargs\u001b[38;5;241m=\u001b[39mkwargs)\n\u001b[0;32m--> 119\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[43mfn\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n",
|
223 |
-
"File \u001b[0;32m~/HuggingFace/Datasets/Melt-Pool-Thermal-Images/venv/lib/python3.8/site-packages/huggingface_hub/_commit_api.py:412\u001b[0m, in \u001b[0;36m_upload_lfs_files\u001b[0;34m(additions, repo_type, repo_id, headers, endpoint, num_threads, revision)\u001b[0m\n\u001b[1;32m 410\u001b[0m \u001b[38;5;28;01melif\u001b[39;00m \u001b[38;5;28mlen\u001b[39m(filtered_actions) \u001b[38;5;241m==\u001b[39m \u001b[38;5;241m1\u001b[39m:\n\u001b[1;32m 411\u001b[0m logger\u001b[38;5;241m.\u001b[39mdebug(\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mUploading 1 LFS file to the Hub\u001b[39m\u001b[38;5;124m\"\u001b[39m)\n\u001b[0;32m--> 412\u001b[0m \u001b[43m_wrapped_lfs_upload\u001b[49m\u001b[43m(\u001b[49m\u001b[43mfiltered_actions\u001b[49m\u001b[43m[\u001b[49m\u001b[38;5;241;43m0\u001b[39;49m\u001b[43m]\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 413\u001b[0m \u001b[38;5;28;01melse\u001b[39;00m:\n\u001b[1;32m 414\u001b[0m logger\u001b[38;5;241m.\u001b[39mdebug(\n\u001b[1;32m 415\u001b[0m \u001b[38;5;124mf\u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mUploading \u001b[39m\u001b[38;5;132;01m{\u001b[39;00m\u001b[38;5;28mlen\u001b[39m(filtered_actions)\u001b[38;5;132;01m}\u001b[39;00m\u001b[38;5;124m LFS files to the Hub using up to \u001b[39m\u001b[38;5;132;01m{\u001b[39;00mnum_threads\u001b[38;5;132;01m}\u001b[39;00m\u001b[38;5;124m threads concurrently\u001b[39m\u001b[38;5;124m\"\u001b[39m\n\u001b[1;32m 416\u001b[0m )\n",
|
224 |
-
"File \u001b[0;32m~/HuggingFace/Datasets/Melt-Pool-Thermal-Images/venv/lib/python3.8/site-packages/huggingface_hub/_commit_api.py:402\u001b[0m, in \u001b[0;36m_upload_lfs_files.<locals>._wrapped_lfs_upload\u001b[0;34m(batch_action)\u001b[0m\n\u001b[1;32m 400\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[1;32m 401\u001b[0m operation \u001b[38;5;241m=\u001b[39m oid2addop[batch_action[\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124moid\u001b[39m\u001b[38;5;124m\"\u001b[39m]]\n\u001b[0;32m--> 402\u001b[0m \u001b[43mlfs_upload\u001b[49m\u001b[43m(\u001b[49m\u001b[43moperation\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43moperation\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mlfs_batch_action\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mbatch_action\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mheaders\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mheaders\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mendpoint\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mendpoint\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 403\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m \u001b[38;5;167;01mException\u001b[39;00m \u001b[38;5;28;01mas\u001b[39;00m exc:\n\u001b[1;32m 404\u001b[0m \u001b[38;5;28;01mraise\u001b[39;00m \u001b[38;5;167;01mRuntimeError\u001b[39;00m(\u001b[38;5;124mf\u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mError while uploading \u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;132;01m{\u001b[39;00moperation\u001b[38;5;241m.\u001b[39mpath_in_repo\u001b[38;5;132;01m}\u001b[39;00m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124m to the Hub.\u001b[39m\u001b[38;5;124m\"\u001b[39m) \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01mexc\u001b[39;00m\n",
|
225 |
-
"File \u001b[0;32m~/HuggingFace/Datasets/Melt-Pool-Thermal-Images/venv/lib/python3.8/site-packages/huggingface_hub/lfs.py:243\u001b[0m, in \u001b[0;36mlfs_upload\u001b[0;34m(operation, lfs_batch_action, token, headers, endpoint)\u001b[0m\n\u001b[1;32m 239\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m (\u001b[38;5;167;01mValueError\u001b[39;00m, \u001b[38;5;167;01mTypeError\u001b[39;00m):\n\u001b[1;32m 240\u001b[0m \u001b[38;5;28;01mraise\u001b[39;00m \u001b[38;5;167;01mValueError\u001b[39;00m(\n\u001b[1;32m 241\u001b[0m \u001b[38;5;124mf\u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mMalformed response from LFS batch endpoint: `chunk_size` should be an integer. Got \u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;132;01m{\u001b[39;00mchunk_size\u001b[38;5;132;01m}\u001b[39;00m\u001b[38;5;124m'\u001b[39m\u001b[38;5;124m.\u001b[39m\u001b[38;5;124m\"\u001b[39m\n\u001b[1;32m 242\u001b[0m )\n\u001b[0;32m--> 243\u001b[0m \u001b[43m_upload_multi_part\u001b[49m\u001b[43m(\u001b[49m\u001b[43moperation\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43moperation\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mheader\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mheader\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mchunk_size\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mchunk_size\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mupload_url\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mupload_url\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 244\u001b[0m \u001b[38;5;28;01melse\u001b[39;00m:\n\u001b[1;32m 245\u001b[0m _upload_single_part(operation\u001b[38;5;241m=\u001b[39moperation, upload_url\u001b[38;5;241m=\u001b[39mupload_url)\n",
|
226 |
-
"File \u001b[0;32m~/HuggingFace/Datasets/Melt-Pool-Thermal-Images/venv/lib/python3.8/site-packages/huggingface_hub/lfs.py:345\u001b[0m, in \u001b[0;36m_upload_multi_part\u001b[0;34m(operation, header, chunk_size, upload_url)\u001b[0m\n\u001b[1;32m 338\u001b[0m response_headers \u001b[38;5;241m=\u001b[39m (\n\u001b[1;32m 339\u001b[0m _upload_parts_hf_transfer(operation\u001b[38;5;241m=\u001b[39moperation, sorted_parts_urls\u001b[38;5;241m=\u001b[39msorted_parts_urls, chunk_size\u001b[38;5;241m=\u001b[39mchunk_size)\n\u001b[1;32m 340\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m use_hf_transfer\n\u001b[1;32m 341\u001b[0m \u001b[38;5;28;01melse\u001b[39;00m _upload_parts_iteratively(operation\u001b[38;5;241m=\u001b[39moperation, sorted_parts_urls\u001b[38;5;241m=\u001b[39msorted_parts_urls, chunk_size\u001b[38;5;241m=\u001b[39mchunk_size)\n\u001b[1;32m 342\u001b[0m )\n\u001b[1;32m 344\u001b[0m \u001b[38;5;66;03m# 3. Send completion request\u001b[39;00m\n\u001b[0;32m--> 345\u001b[0m completion_res \u001b[38;5;241m=\u001b[39m \u001b[43mget_session\u001b[49m\u001b[43m(\u001b[49m\u001b[43m)\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mpost\u001b[49m\u001b[43m(\u001b[49m\n\u001b[1;32m 346\u001b[0m \u001b[43m \u001b[49m\u001b[43mupload_url\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 347\u001b[0m \u001b[43m \u001b[49m\u001b[43mjson\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43m_get_completion_payload\u001b[49m\u001b[43m(\u001b[49m\u001b[43mresponse_headers\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43moperation\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mupload_info\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43msha256\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mhex\u001b[49m\u001b[43m(\u001b[49m\u001b[43m)\u001b[49m\u001b[43m)\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 348\u001b[0m \u001b[43m \u001b[49m\u001b[43mheaders\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mLFS_HEADERS\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 349\u001b[0m \u001b[43m\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 350\u001b[0m hf_raise_for_status(completion_res)\n",
|
227 |
-
"File \u001b[0;32m~/HuggingFace/Datasets/Melt-Pool-Thermal-Images/venv/lib/python3.8/site-packages/requests/sessions.py:637\u001b[0m, in \u001b[0;36mSession.post\u001b[0;34m(self, url, data, json, **kwargs)\u001b[0m\n\u001b[1;32m 626\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21mpost\u001b[39m(\u001b[38;5;28mself\u001b[39m, url, data\u001b[38;5;241m=\u001b[39m\u001b[38;5;28;01mNone\u001b[39;00m, json\u001b[38;5;241m=\u001b[39m\u001b[38;5;28;01mNone\u001b[39;00m, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs):\n\u001b[1;32m 627\u001b[0m \u001b[38;5;250m \u001b[39m\u001b[38;5;124mr\u001b[39m\u001b[38;5;124;03m\"\"\"Sends a POST request. Returns :class:`Response` object.\u001b[39;00m\n\u001b[1;32m 628\u001b[0m \n\u001b[1;32m 629\u001b[0m \u001b[38;5;124;03m :param url: URL for the new :class:`Request` object.\u001b[39;00m\n\u001b[0;32m (...)\u001b[0m\n\u001b[1;32m 634\u001b[0m \u001b[38;5;124;03m :rtype: requests.Response\u001b[39;00m\n\u001b[1;32m 635\u001b[0m \u001b[38;5;124;03m \"\"\"\u001b[39;00m\n\u001b[0;32m--> 637\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mrequest\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[38;5;124;43mPOST\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43murl\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mdata\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mdata\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mjson\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mjson\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n",
|
228 |
-
"File \u001b[0;32m~/HuggingFace/Datasets/Melt-Pool-Thermal-Images/venv/lib/python3.8/site-packages/requests/sessions.py:589\u001b[0m, in \u001b[0;36mSession.request\u001b[0;34m(self, method, url, params, data, headers, cookies, files, auth, timeout, allow_redirects, proxies, hooks, stream, verify, cert, json)\u001b[0m\n\u001b[1;32m 584\u001b[0m send_kwargs \u001b[38;5;241m=\u001b[39m {\n\u001b[1;32m 585\u001b[0m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mtimeout\u001b[39m\u001b[38;5;124m\"\u001b[39m: timeout,\n\u001b[1;32m 586\u001b[0m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mallow_redirects\u001b[39m\u001b[38;5;124m\"\u001b[39m: allow_redirects,\n\u001b[1;32m 587\u001b[0m }\n\u001b[1;32m 588\u001b[0m send_kwargs\u001b[38;5;241m.\u001b[39mupdate(settings)\n\u001b[0;32m--> 589\u001b[0m resp \u001b[38;5;241m=\u001b[39m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43msend\u001b[49m\u001b[43m(\u001b[49m\u001b[43mprep\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43msend_kwargs\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 591\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m resp\n",
|
229 |
-
"File \u001b[0;32m~/HuggingFace/Datasets/Melt-Pool-Thermal-Images/venv/lib/python3.8/site-packages/requests/sessions.py:703\u001b[0m, in \u001b[0;36mSession.send\u001b[0;34m(self, request, **kwargs)\u001b[0m\n\u001b[1;32m 700\u001b[0m start \u001b[38;5;241m=\u001b[39m preferred_clock()\n\u001b[1;32m 702\u001b[0m \u001b[38;5;66;03m# Send the request\u001b[39;00m\n\u001b[0;32m--> 703\u001b[0m r \u001b[38;5;241m=\u001b[39m \u001b[43madapter\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43msend\u001b[49m\u001b[43m(\u001b[49m\u001b[43mrequest\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 705\u001b[0m \u001b[38;5;66;03m# Total elapsed time of the request (approximately)\u001b[39;00m\n\u001b[1;32m 706\u001b[0m elapsed \u001b[38;5;241m=\u001b[39m preferred_clock() \u001b[38;5;241m-\u001b[39m start\n",
|
230 |
-
"File \u001b[0;32m~/HuggingFace/Datasets/Melt-Pool-Thermal-Images/venv/lib/python3.8/site-packages/huggingface_hub/utils/_http.py:68\u001b[0m, in \u001b[0;36mUniqueRequestIdAdapter.send\u001b[0;34m(self, request, *args, **kwargs)\u001b[0m\n\u001b[1;32m 66\u001b[0m \u001b[38;5;250m\u001b[39m\u001b[38;5;124;03m\"\"\"Catch any RequestException to append request id to the error message for debugging.\"\"\"\u001b[39;00m\n\u001b[1;32m 67\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[0;32m---> 68\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28;43msuper\u001b[39;49m\u001b[43m(\u001b[49m\u001b[43m)\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43msend\u001b[49m\u001b[43m(\u001b[49m\u001b[43mrequest\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43margs\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 69\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m requests\u001b[38;5;241m.\u001b[39mRequestException \u001b[38;5;28;01mas\u001b[39;00m e:\n\u001b[1;32m 70\u001b[0m request_id \u001b[38;5;241m=\u001b[39m request\u001b[38;5;241m.\u001b[39mheaders\u001b[38;5;241m.\u001b[39mget(X_AMZN_TRACE_ID)\n",
|
231 |
-
"File \u001b[0;32m~/HuggingFace/Datasets/Melt-Pool-Thermal-Images/venv/lib/python3.8/site-packages/requests/adapters.py:454\u001b[0m, in \u001b[0;36mHTTPAdapter.send\u001b[0;34m(self, request, stream, timeout, verify, cert, proxies)\u001b[0m\n\u001b[1;32m 437\u001b[0m \u001b[38;5;250m\u001b[39m\u001b[38;5;124;03m\"\"\"Sends PreparedRequest object. Returns Response object.\u001b[39;00m\n\u001b[1;32m 438\u001b[0m \n\u001b[1;32m 439\u001b[0m \u001b[38;5;124;03m:param request: The :class:`PreparedRequest <PreparedRequest>` being sent.\u001b[39;00m\n\u001b[0;32m (...)\u001b[0m\n\u001b[1;32m 450\u001b[0m \u001b[38;5;124;03m:rtype: requests.Response\u001b[39;00m\n\u001b[1;32m 451\u001b[0m \u001b[38;5;124;03m\"\"\"\u001b[39;00m\n\u001b[1;32m 453\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[0;32m--> 454\u001b[0m conn \u001b[38;5;241m=\u001b[39m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mget_connection\u001b[49m\u001b[43m(\u001b[49m\u001b[43mrequest\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43murl\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mproxies\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 455\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m LocationValueError \u001b[38;5;28;01mas\u001b[39;00m e:\n\u001b[1;32m 456\u001b[0m \u001b[38;5;28;01mraise\u001b[39;00m InvalidURL(e, request\u001b[38;5;241m=\u001b[39mrequest)\n",
|
232 |
-
"File \u001b[0;32m~/HuggingFace/Datasets/Melt-Pool-Thermal-Images/venv/lib/python3.8/site-packages/requests/adapters.py:356\u001b[0m, in \u001b[0;36mHTTPAdapter.get_connection\u001b[0;34m(self, url, proxies)\u001b[0m\n\u001b[1;32m 354\u001b[0m parsed \u001b[38;5;241m=\u001b[39m urlparse(url)\n\u001b[1;32m 355\u001b[0m url \u001b[38;5;241m=\u001b[39m parsed\u001b[38;5;241m.\u001b[39mgeturl()\n\u001b[0;32m--> 356\u001b[0m conn \u001b[38;5;241m=\u001b[39m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mpoolmanager\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mconnection_from_url\u001b[49m\u001b[43m(\u001b[49m\u001b[43murl\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 358\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m conn\n",
|
233 |
-
"File \u001b[0;32m~/HuggingFace/Datasets/Melt-Pool-Thermal-Images/venv/lib/python3.8/site-packages/urllib3/poolmanager.py:370\u001b[0m, in \u001b[0;36mPoolManager.connection_from_url\u001b[0;34m(self, url, pool_kwargs)\u001b[0m\n\u001b[1;32m 357\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21mconnection_from_url\u001b[39m(\n\u001b[1;32m 358\u001b[0m \u001b[38;5;28mself\u001b[39m, url: \u001b[38;5;28mstr\u001b[39m, pool_kwargs: \u001b[38;5;28mdict\u001b[39m[\u001b[38;5;28mstr\u001b[39m, typing\u001b[38;5;241m.\u001b[39mAny] \u001b[38;5;241m|\u001b[39m \u001b[38;5;28;01mNone\u001b[39;00m \u001b[38;5;241m=\u001b[39m \u001b[38;5;28;01mNone\u001b[39;00m\n\u001b[1;32m 359\u001b[0m ) \u001b[38;5;241m-\u001b[39m\u001b[38;5;241m>\u001b[39m HTTPConnectionPool:\n\u001b[1;32m 360\u001b[0m \u001b[38;5;250m \u001b[39m\u001b[38;5;124;03m\"\"\"\u001b[39;00m\n\u001b[1;32m 361\u001b[0m \u001b[38;5;124;03m Similar to :func:`urllib3.connectionpool.connection_from_url`.\u001b[39;00m\n\u001b[1;32m 362\u001b[0m \n\u001b[0;32m (...)\u001b[0m\n\u001b[1;32m 368\u001b[0m \u001b[38;5;124;03m not used.\u001b[39;00m\n\u001b[1;32m 369\u001b[0m \u001b[38;5;124;03m \"\"\"\u001b[39;00m\n\u001b[0;32m--> 370\u001b[0m u \u001b[38;5;241m=\u001b[39m \u001b[43mparse_url\u001b[49m\u001b[43m(\u001b[49m\u001b[43murl\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 371\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mconnection_from_host(\n\u001b[1;32m 372\u001b[0m u\u001b[38;5;241m.\u001b[39mhost, port\u001b[38;5;241m=\u001b[39mu\u001b[38;5;241m.\u001b[39mport, scheme\u001b[38;5;241m=\u001b[39mu\u001b[38;5;241m.\u001b[39mscheme, pool_kwargs\u001b[38;5;241m=\u001b[39mpool_kwargs\n\u001b[1;32m 373\u001b[0m )\n",
|
234 |
-
"File \u001b[0;32m~/HuggingFace/Datasets/Melt-Pool-Thermal-Images/venv/lib/python3.8/site-packages/urllib3/util/url.py:446\u001b[0m, in \u001b[0;36mparse_url\u001b[0;34m(url)\u001b[0m\n\u001b[1;32m 444\u001b[0m path \u001b[38;5;241m=\u001b[39m _encode_invalid_chars(path, _PATH_CHARS)\n\u001b[1;32m 445\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m normalize_uri \u001b[38;5;129;01mand\u001b[39;00m query:\n\u001b[0;32m--> 446\u001b[0m query \u001b[38;5;241m=\u001b[39m \u001b[43m_encode_invalid_chars\u001b[49m\u001b[43m(\u001b[49m\u001b[43mquery\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43m_QUERY_CHARS\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 447\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m normalize_uri \u001b[38;5;129;01mand\u001b[39;00m fragment:\n\u001b[1;32m 448\u001b[0m fragment \u001b[38;5;241m=\u001b[39m _encode_invalid_chars(fragment, _FRAGMENT_CHARS)\n",
|
235 |
-
"File \u001b[0;32m~/HuggingFace/Datasets/Melt-Pool-Thermal-Images/venv/lib/python3.8/site-packages/urllib3/util/url.py:254\u001b[0m, in \u001b[0;36m_encode_invalid_chars\u001b[0;34m(component, allowed_chars)\u001b[0m\n\u001b[1;32m 251\u001b[0m byte \u001b[38;5;241m=\u001b[39m uri_bytes[i : i \u001b[38;5;241m+\u001b[39m \u001b[38;5;241m1\u001b[39m]\n\u001b[1;32m 252\u001b[0m byte_ord \u001b[38;5;241m=\u001b[39m \u001b[38;5;28mord\u001b[39m(byte)\n\u001b[1;32m 253\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m (is_percent_encoded \u001b[38;5;129;01mand\u001b[39;00m byte \u001b[38;5;241m==\u001b[39m \u001b[38;5;124mb\u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124m%\u001b[39m\u001b[38;5;124m\"\u001b[39m) \u001b[38;5;129;01mor\u001b[39;00m (\n\u001b[0;32m--> 254\u001b[0m byte_ord \u001b[38;5;241m<\u001b[39m \u001b[38;5;241m128\u001b[39m \u001b[38;5;129;01mand\u001b[39;00m \u001b[43mbyte\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mdecode\u001b[49m() \u001b[38;5;129;01min\u001b[39;00m allowed_chars\n\u001b[1;32m 255\u001b[0m ):\n\u001b[1;32m 256\u001b[0m encoded_component \u001b[38;5;241m+\u001b[39m\u001b[38;5;241m=\u001b[39m byte\n\u001b[1;32m 257\u001b[0m \u001b[38;5;28;01mcontinue\u001b[39;00m\n",
|
236 |
-
"\u001b[0;31mKeyboardInterrupt\u001b[0m: "
|
237 |
]
|
238 |
}
|
239 |
],
|
240 |
"source": [
|
241 |
"dataset.push_to_hub(\n",
|
242 |
-
" \"ppak10/
|
243 |
-
" config_name = \"
|
244 |
" split = \"data\"\n",
|
245 |
")"
|
246 |
]
|
|
|
159 |
},
|
160 |
{
|
161 |
"cell_type": "code",
|
162 |
+
"execution_count": 16,
|
163 |
"metadata": {},
|
164 |
"outputs": [
|
165 |
{
|
166 |
"name": "stderr",
|
167 |
"output_type": "stream",
|
168 |
"text": [
|
169 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.77ba/s]\n",
|
|
|
|
|
|
|
|
|
|
|
|
|
170 |
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.91ba/s]\n",
|
171 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.91ba/s]\n",
|
172 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.91ba/s]\n",
|
173 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.91ba/s]\n",
|
174 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.85ba/s]\n",
|
175 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.93ba/s]\n",
|
176 |
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.89ba/s]\n",
|
|
|
177 |
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.89ba/s]\n",
|
178 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.88ba/s]\n",
|
|
|
|
|
179 |
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.91ba/s]\n",
|
180 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.84ba/s]\n",
|
181 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.88ba/s]\n",
|
182 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.91ba/s]\n",
|
183 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.83ba/s]\n",
|
184 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.81ba/s]\n",
|
185 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.91ba/s]\n",
|
186 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.83ba/s]\n",
|
187 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.83ba/s]\n",
|
188 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.90ba/s]\n",
|
189 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.90ba/s]\n",
|
190 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.85ba/s]\n",
|
191 |
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.86ba/s]\n",
|
192 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.88ba/s]\n",
|
193 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.85ba/s]\n",
|
194 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.87ba/s]\n",
|
195 |
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.90ba/s]\n",
|
196 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.86ba/s]\n",
|
197 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.90ba/s]\n",
|
198 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.91ba/s]\n",
|
199 |
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.93ba/s]\n",
|
|
|
200 |
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.94ba/s]\n",
|
201 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.89ba/s]\n",
|
|
|
|
|
202 |
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:02<00:00, 2.01ba/s]\n",
|
203 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.90ba/s]\n",
|
204 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.77ba/s]\n",
|
205 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.89ba/s]\n",
|
206 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.77ba/s]\n",
|
207 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.99ba/s]\n",
|
208 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.97ba/s]\n",
|
209 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:02<00:00, 2.04ba/s]\n",
|
210 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:02<00:00, 2.00ba/s]\n",
|
211 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.90ba/s]\n",
|
212 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.86ba/s]\n",
|
213 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.89ba/s]\n",
|
214 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.83ba/s]\n",
|
215 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.86ba/s]\n",
|
216 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.78ba/s]\n",
|
217 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.81ba/s]\n",
|
218 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.83ba/s]\n",
|
219 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.91ba/s]\n",
|
220 |
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.95ba/s]\n",
|
221 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.80ba/s]\n",
|
222 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.80ba/s]\n",
|
223 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.72ba/s]\n",
|
224 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.77ba/s]\n",
|
225 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.80ba/s]\n",
|
226 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.78ba/s]\n",
|
227 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.74ba/s]\n",
|
228 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.80ba/s]\n",
|
229 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.78ba/s]\n",
|
230 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.85ba/s]\n",
|
231 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.78ba/s]\n",
|
232 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.80ba/s]\n",
|
233 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.77ba/s]\n",
|
234 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.86ba/s]\n",
|
235 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.78ba/s]\n",
|
236 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.73ba/s]\n",
|
237 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.81ba/s]\n",
|
238 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.79ba/s]\n",
|
239 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.90ba/s]\n",
|
240 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.79ba/s]\n",
|
241 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.88ba/s]\n",
|
242 |
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.91ba/s]\n",
|
243 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.92ba/s]\n",
|
244 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.83ba/s]\n",
|
245 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.84ba/s]\n",
|
246 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.86ba/s]\n",
|
247 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.85ba/s]\n",
|
248 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.87ba/s]\n",
|
249 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.84ba/s]\n",
|
250 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.79ba/s]\n",
|
251 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.76ba/s]\n",
|
252 |
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.88ba/s]\n",
|
253 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.84ba/s]\n",
|
254 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.93ba/s]\n",
|
255 |
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.88ba/s]\n",
|
256 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.83ba/s]\n",
|
257 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.91ba/s]\n",
|
258 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.85ba/s]\n",
|
259 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.81ba/s]\n",
|
260 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.78ba/s]\n",
|
261 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.94ba/s]\n",
|
262 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.90ba/s]\n",
|
263 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.81ba/s]\n",
|
264 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.78ba/s]\n",
|
265 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.87ba/s]\n",
|
266 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.85ba/s]\n",
|
267 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.73ba/s]\n",
|
268 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.83ba/s]\n",
|
269 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.75ba/s]\n",
|
270 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.68ba/s]\n",
|
271 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.86ba/s]\n",
|
272 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.84ba/s]\n",
|
273 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.73ba/s]\n",
|
274 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.82ba/s]\n",
|
275 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.69ba/s]\n",
|
276 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.65ba/s]\n",
|
277 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.82ba/s]\n",
|
278 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.81ba/s]\n",
|
279 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.72ba/s]\n",
|
280 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.76ba/s]\n",
|
281 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.84ba/s]\n",
|
282 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.63ba/s]\n",
|
283 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.70ba/s]\n",
|
284 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.70ba/s]\n",
|
285 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.59ba/s]\n",
|
286 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.76ba/s]\n",
|
287 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.76ba/s]\n",
|
288 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.70ba/s]\n",
|
289 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.70ba/s]\n",
|
290 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.82ba/s]\n",
|
291 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.74ba/s]\n",
|
292 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.64ba/s]\n",
|
293 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.57ba/s]\n",
|
294 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.57ba/s]\n",
|
295 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.70ba/s]\n",
|
296 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:04<00:00, 1.46ba/s]\n",
|
297 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.69ba/s]\n",
|
298 |
+
"Creating parquet from Arrow format: 100%|ββββββββββ| 6/6 [00:03<00:00, 1.62ba/s]\n",
|
299 |
+
"Uploading the dataset shards: 100%|ββββββββββ| 130/130 [07:40<00:00, 3.54s/it]\n"
|
300 |
]
|
301 |
},
|
302 |
{
|
303 |
+
"data": {
|
304 |
+
"text/plain": [
|
305 |
+
"CommitInfo(commit_url='https://huggingface.co/datasets/ppak10/Melt-Pool-Thermal-Images/commit/53f0639953b72bfaa6f4a2a472de2fc85e63b4a5', commit_message='Upload dataset (part 00002-of-00003)', commit_description='', oid='53f0639953b72bfaa6f4a2a472de2fc85e63b4a5', pr_url=None, pr_revision=None, pr_num=None)"
|
306 |
+
]
|
307 |
+
},
|
308 |
+
"execution_count": 16,
|
309 |
+
"metadata": {},
|
310 |
+
"output_type": "execute_result"
|
311 |
+
},
|
312 |
+
{
|
313 |
+
"ename": "",
|
314 |
"evalue": "",
|
315 |
"output_type": "error",
|
316 |
"traceback": [
|
317 |
+
"\u001b[1;31mThe Kernel crashed while executing code in the current cell or a previous cell. \n",
|
318 |
+
"\u001b[1;31mPlease review the code in the cell(s) to identify a possible cause of the failure. \n",
|
319 |
+
"\u001b[1;31mClick <a href='https://aka.ms/vscodeJupyterKernelCrash'>here</a> for more info. \n",
|
320 |
+
"\u001b[1;31mView Jupyter <a href='command:jupyter.viewOutput'>log</a> for further details."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
321 |
]
|
322 |
}
|
323 |
],
|
324 |
"source": [
|
325 |
"dataset.push_to_hub(\n",
|
326 |
+
" \"ppak10/Melt-Pool-Thermal-Images\",\n",
|
327 |
+
" config_name = \"NIST_overhang_frames\",\n",
|
328 |
" split = \"data\"\n",
|
329 |
")"
|
330 |
]
|