Clean up
Browse files- Final_Training.ipynb +15 -3
Final_Training.ipynb
CHANGED
|
@@ -100,7 +100,7 @@
|
|
| 100 |
},
|
| 101 |
{
|
| 102 |
"cell_type": "code",
|
| 103 |
-
"execution_count":
|
| 104 |
"id": "9ba61cb6",
|
| 105 |
"metadata": {},
|
| 106 |
"outputs": [
|
|
@@ -2109,10 +2109,22 @@
|
|
| 2109 |
},
|
| 2110 |
{
|
| 2111 |
"cell_type": "code",
|
| 2112 |
-
"execution_count":
|
| 2113 |
"id": "fc3da1cb",
|
| 2114 |
"metadata": {},
|
| 2115 |
-
"outputs": [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2116 |
"source": [
|
| 2117 |
"\n",
|
| 2118 |
"HF.create_repo()\n",
|
|
|
|
| 100 |
},
|
| 101 |
{
|
| 102 |
"cell_type": "code",
|
| 103 |
+
"execution_count": 47,
|
| 104 |
"id": "9ba61cb6",
|
| 105 |
"metadata": {},
|
| 106 |
"outputs": [
|
|
|
|
| 2109 |
},
|
| 2110 |
{
|
| 2111 |
"cell_type": "code",
|
| 2112 |
+
"execution_count": 46,
|
| 2113 |
"id": "fc3da1cb",
|
| 2114 |
"metadata": {},
|
| 2115 |
+
"outputs": [
|
| 2116 |
+
{
|
| 2117 |
+
"ename": "NameError",
|
| 2118 |
+
"evalue": "name 'WEIGHTS_DIR' is not defined",
|
| 2119 |
+
"output_type": "error",
|
| 2120 |
+
"traceback": [
|
| 2121 |
+
"\u001b[31m---------------------------------------------------------------------------\u001b[39m",
|
| 2122 |
+
"\u001b[31mNameError\u001b[39m Traceback (most recent call last)",
|
| 2123 |
+
"\u001b[36mCell\u001b[39m\u001b[36m \u001b[39m\u001b[32mIn[46]\u001b[39m\u001b[32m, line 5\u001b[39m\n\u001b[32m 3\u001b[39m \u001b[38;5;66;03m# Training File and Model Weights\u001b[39;00m\n\u001b[32m 4\u001b[39m HF.upload_to_hub(\u001b[33m\"\u001b[39m\u001b[33mFinal_Training.ipynb\u001b[39m\u001b[33m\"\u001b[39m, commit_msg=\u001b[33m\"\u001b[39m\u001b[33mClean up\u001b[39m\u001b[33m\"\u001b[39m)\n\u001b[32m----> \u001b[39m\u001b[32m5\u001b[39m HF.upload_to_hub(\u001b[43mWEIGHTS_DIR\u001b[49m, commit_msg=\u001b[33m\"\u001b[39m\u001b[33mModel weights\u001b[39m\u001b[33m\"\u001b[39m)\n\u001b[32m 6\u001b[39m \u001b[38;5;66;03m# upload_to_hub(\"best_model_weights_PushupCounterSingleOutput_v01.pth\", commit_msg=\"PushupCounterSingleOutput model weights\")\u001b[39;00m\n\u001b[32m 7\u001b[39m \u001b[38;5;66;03m# upload_to_hub(\"best_model_weights_PushupCounterSingleOutput.pth\", commit_msg=\"PushupCounterSingleOutput model weights\")\u001b[39;00m\n\u001b[32m 8\u001b[39m \u001b[38;5;66;03m# upload_to_hub(\"best_model_weights_PushupCounterMaxPool.pth\", commit_msg=\"PushupCounterMaxPool model weights\")\u001b[39;00m\n\u001b[32m (...)\u001b[39m\u001b[32m 13\u001b[39m \u001b[38;5;66;03m# delete_file(\"bytetrack.yaml\", is_folder=False, commit_msg=\"Real Estate Organization\")\u001b[39;00m\n\u001b[32m 14\u001b[39m \u001b[38;5;66;03m# delete_file(\"yolo11n-pose.pt\", is_folder=False, commit_msg=\"Real Estate Organization\")\u001b[39;00m\n",
|
| 2124 |
+
"\u001b[31mNameError\u001b[39m: name 'WEIGHTS_DIR' is not defined"
|
| 2125 |
+
]
|
| 2126 |
+
}
|
| 2127 |
+
],
|
| 2128 |
"source": [
|
| 2129 |
"\n",
|
| 2130 |
"HF.create_repo()\n",
|