init-GrandPrix+dataset_v1-15kps
This commit is contained in:
54
Grand_Prix/Inference/predict.ipynb
Normal file
54
Grand_Prix/Inference/predict.ipynb
Normal file
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"cells": [
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "120b4212",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"!python -m openpifpaf.predict test\\images\\test.png \\\n",
|
||||
"--checkpoint=model/mobilenetv2-GrandPrix_v1_15.pkl.№1.epoch510 --image-output \\\n",
|
||||
"--keypoint-threshold-rel=0.01 --cif-th=0.01 --caf-th=0.01 --seed-threshold=0.01 \\\n",
|
||||
"--keypoint-threshold=0.01 --tr-minimum-threshold=0.01 --tr-single-pose-threshold=0.01 \\\n",
|
||||
"--tr-multi-pose-threshold=0.01 --instance-threshold=0.1 --line-width=2 --json-output"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "984d60d5",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"# !python -m openpifpaf.video --source test\\videos\\test.mp4 \\\n",
|
||||
"# --checkpoint=model/mobilenetv2-GrandPrix_v1_15.pkl.№1.epoch510 --video-output --json-output \\\n",
|
||||
"# --keypoint-threshold-rel=0.01 --cif-th=0.01 --caf-th=0.01 --seed-threshold=0.01 \\\n",
|
||||
"# --keypoint-threshold=0.01 --tr-minimum-threshold=0.01 --tr-single-pose-threshold=0.01 \\\n",
|
||||
"# --tr-multi-pose-threshold=0.01 --instance-threshold=0.1 --line-width=4 --video-fps=25 \\\n",
|
||||
"# --scale=1 --loader-workers=3"
|
||||
]
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"kernelspec": {
|
||||
"display_name": "Python 3 (ipykernel)",
|
||||
"language": "python",
|
||||
"name": "python3"
|
||||
},
|
||||
"language_info": {
|
||||
"codemirror_mode": {
|
||||
"name": "ipython",
|
||||
"version": 3
|
||||
},
|
||||
"file_extension": ".py",
|
||||
"mimetype": "text/x-python",
|
||||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.9.7"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
"nbformat_minor": 5
|
||||
}
|
||||
Reference in New Issue
Block a user