Skip to content

Commit a930852

Browse files
authored
Add yes pipe for rubik conversion cmd (#2043)
1 parent 65c214a commit a930852

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

scripts/rubik_conversion.ipynb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@
2727
"\n",
2828
"**NOTE: your API key will be listed in the output, and should therefore be redacted if the output is shared.**\n",
2929
"\n",
30-
"At some point during the run of this cell, it will prompt you to choose whether to clone a repo. You should click on the text box next to the prompt, and answer *y/yes*.\n",
31-
"\n",
3230
"Once the run has finished, open the AI Hub link, and download the tflite model for the job you just ran.\n",
3331
"\n",
3432
"If you want to use this notebook to convert a yolo11 model, you'll need to replace all instances of `yolov8` in the cell below with `yolov11`."
@@ -52,7 +50,7 @@
5250
"# sets up AI Hub enviroment\n",
5351
"!qai-hub configure --api_token <YOUR_API_TOKEN>\n",
5452
"# Converts the model to be ran on RB3Gen2\n",
55-
"!python -m qai_hub_models.models.yolov8_det.export --quantize w8a8 --device=\"RB3 Gen 2 (Proxy)\" --ckpt-name /PATH/TO/WEIGHTS --device-os linux --target-runtime tflite --output-dir .\n"
53+
"!yes | python -m qai_hub_models.models.yolov8_det.export --quantize w8a8 --device=\"RB3 Gen 2 (Proxy)\" --ckpt-name /PATH/TO/WEIGHTS --device-os linux --target-runtime tflite --output-dir .\n"
5654
]
5755
},
5856
{

0 commit comments

Comments
 (0)